Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002166/0.002167, allocations: 110.6 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003448/0.003448, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.266/2.266, allocations: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 47.67 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2134, allocations: 49.45 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.006821/0.2203, allocations: 1.581 MB / 351.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.2213, allocations: 147.5 kB / 351.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2215, allocations: 4 kB / 351.8 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.2217, allocations: 3.938 kB / 351.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.2221, allocations: 3.984 kB / 351.8 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.2226, allocations: 46.39 kB / 351.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.2228, allocations: 39.8 kB / 351.9 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2231, allocations: 19.98 kB / 351.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.2232, allocations: 19.92 kB / 351.9 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2233, allocations: 19.86 kB / 351.9 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.2234, allocations: 0 / 351.9 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.2234, allocations: 4 kB / 351.9 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2235, allocations: 19.86 kB / 352 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.321e-05/0.2236, allocations: 23.81 kB / 352 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.2238, allocations: 35.94 kB / 352 MB, free: 2.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2239, allocations: 4 kB / 352 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.362e-06/0.2239, allocations: 4 kB / 352 MB, free: 2.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.2239, allocations: 0 / 352 MB, free: 2.859 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001015/0.2249, allocations: 379.4 kB / 352.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.84e-05/0.225, allocations: 8.031 kB / 352.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.2251, allocations: 8.844 kB / 352.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.2255, allocations: 204 kB / 352.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2256, allocations: 4.359 kB / 352.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2256, allocations: 8.375 kB / 352.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.2262, allocations: 118.5 kB / 352.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2262, allocations: 192 / 352.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2262, allocations: 7.938 kB / 352.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.2263, allocations: 0 / 352.7 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.2266, allocations: 39.97 kB / 352.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.2274, allocations: 369.8 kB / 353.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.2277, allocations: 83.72 kB / 353.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2279, allocations: 34.62 kB / 353.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.2279, allocations: 4 kB / 353.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.228, allocations: 42.55 kB / 353.3 MB, free: 1.363 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.865e-06/0.228, allocations: 3.938 kB / 353.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006922/0.2287, allocations: 101.5 kB / 353.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.2288, allocations: 106.8 kB / 353.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2291, allocations: 145 kB / 353.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2291, allocations: 29.7 kB / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.2292, allocations: 92.12 kB / 353.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2293, allocations: 3.906 kB / 353.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.2293, allocations: 17.72 kB / 353.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2296, allocations: 326.8 kB / 354.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2297, allocations: 11.98 kB / 354.1 MB, free: 492 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2298, allocations: 47.36 kB / 354.2 MB, free: 432 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.2301, allocations: 55.41 kB / 354.2 MB, free: 364 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.2301, allocations: 7.938 kB / 354.2 MB, free: 356 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003864/0.2306, allocations: 85.44 kB / 354.3 MB, free: 264 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.2306, allocations: 8 kB / 354.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2306, allocations: 0 / 354.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2307, allocations: 3.938 kB / 354.3 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2308, allocations: 8 kB / 354.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/0.2309, allocations: 4 kB / 354.3 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.745e-05/0.231, allocations: 15.92 kB / 354.4 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.231, allocations: 4.125 kB / 354.4 MB, free: 220 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.2313, allocations: 129.7 kB / 354.5 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.2315, allocations: 53.53 kB / 354.5 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.2316, allocations: 15.86 kB / 354.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.2316, allocations: 0 / 354.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.816e-05/0.2317, allocations: 8.078 kB / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2317, allocations: 0 / 354.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.2321, allocations: 173.6 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/0.2322, allocations: 4.031 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.2322, allocations: 11.98 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2323, allocations: 0 / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.2323, allocations: 0 / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.2323, allocations: 4 kB / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2323, allocations: 96 / 354.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.2328, allocations: 275.4 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.233, allocations: 93 kB / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.233, allocations: 4 kB / 355.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2332, allocations: 3.984 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.2333, allocations: 4 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.2333, allocations: 0 / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2335, allocations: 111.2 kB / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2335, allocations: 0 / 355.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.234, allocations: 8 kB / 355.2 MB, free: 15.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.2343, allocations: 107.2 kB / 355.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.2346, allocations: 47.89 kB / 355.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2346, allocations: 0 / 355.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2347, allocations: 28.23 kB / 355.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.2355, allocations: 27.95 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.2363, allocations: 230.4 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2368, allocations: 0.7006 MB / 356.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.2368, allocations: 11.44 kB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2369, allocations: 0 / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.004208/0.2411, allocations: 0.8104 MB / 357.2 MB, free: 13.2 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches