Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 166.3 kB / 25.61 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.011/1.011, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.689e-05, allocations: 3.844 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002169/0.002186, allocations: 1.667 MB / 275.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.004501, allocations: 0.5349 MB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.004564, allocations: 8.781 kB / 276.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.996e-05/0.004634, allocations: 7.922 kB / 276.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.00471, allocations: 16.48 kB / 276.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.004911, allocations: 73.62 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.005007, allocations: 63.72 kB / 276.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.449e-05/0.005081, allocations: 15.98 kB / 276.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.005182, allocations: 47.83 kB / 276.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.005224, allocations: 16.48 kB / 276.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.005237, allocations: 4.656 kB / 276.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.005266, allocations: 7.938 kB / 276.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.005304, allocations: 26.39 kB / 276.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.005327, allocations: 23.84 kB / 276.6 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.005423, allocations: 47.83 kB / 276.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.005426, allocations: 3.984 kB / 276.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005426, allocations: 0 / 276.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.227e-06/0.00543, allocations: 0 / 276.7 MB, free: 1.707 MB / 250.7 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.0003074/0.005737, allocations: 428.1 kB / 277.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.628e-05/0.005763, allocations: 12.03 kB / 277.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.005892, allocations: 24.88 kB / 277.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.00603, allocations: 164.2 kB / 277.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.006037, allocations: 384 / 277.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.006046, allocations: 8.375 kB / 277.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.006206, allocations: 129.3 kB / 277.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.006214, allocations: 4.172 kB / 277.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.00622, allocations: 384 / 277.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.00624, allocations: 3.938 kB / 277.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.00626, allocations: 8 kB / 277.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.006503, allocations: 394.9 kB / 277.8 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.006568, allocations: 85.23 kB / 277.9 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.006592, allocations: 27.06 kB / 277.9 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.006602, allocations: 16.05 kB / 278 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.00662, allocations: 33.39 kB / 278 MB, free: 216 kB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.006621, allocations: 4 kB / 278 MB, free: 212 kB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001402/0.006761, allocations: 61.45 kB / 278.1 MB, free: 144 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.006807, allocations: 110.8 kB / 278.2 MB, free: 8 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006918, allocations: 204.5 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.006928, allocations: 25.7 kB / 278.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.006978, allocations: 150.7 kB / 278.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.006993, allocations: 8.328 kB / 278.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.007025, allocations: 27.38 kB / 278.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.007138, allocations: 0.4884 MB / 279.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.00715, allocations: 4 kB / 279.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.00717, allocations: 19.31 kB / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.0072, allocations: 19.38 kB / 279.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007202, allocations: 4 kB / 279.1 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.406e-05/0.007266, allocations: 49.58 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007278, allocations: 12.06 kB / 279.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.007282, allocations: 4 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.007288, allocations: 0 / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.007331, allocations: 7.984 kB / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.007333, allocations: 0 / 279.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.00736, allocations: 4 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.007364, allocations: 0 / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.155e-05/0.007426, allocations: 160.5 kB / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.007485, allocations: 49.56 kB / 279.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.007509, allocations: 15.91 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.00752, allocations: 12.03 kB / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.007522, allocations: 0 / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007524, allocations: 0 / 279.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.007678, allocations: 109.2 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00768, allocations: 0 / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.007705, allocations: 7.984 kB / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007707, allocations: 4 kB / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.007712, allocations: 0 / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007712, allocations: 0 / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.007716, allocations: 7.938 kB / 279.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.007842, allocations: 330.7 kB / 279.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.007871, allocations: 19.94 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.007882, allocations: 0 / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.007969, allocations: 4 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.007994, allocations: 7.922 kB / 279.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.008, allocations: 7.984 kB / 279.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.839e-05/0.008058, allocations: 152.7 kB / 280.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008058, allocations: 0 / 280.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0022/0.01026, allocations: 8 kB / 280.1 MB, free: 13.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.856e-05/0.01033, allocations: 99.22 kB / 280.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.0104, allocations: 27.59 kB / 280.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.0104, allocations: 0 / 280.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.01041, allocations: 11.69 kB / 280.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.0128, allocations: 26.47 kB / 280.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.01321, allocations: 213.6 kB / 280.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.01326, allocations: 71.2 kB / 280.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.459e-05/0.01328, allocations: 0 / 280.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.01334, allocations: 78.19 kB / 280.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01334, allocations: 0 / 280.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002242/0.01558, allocations: 0.7941 MB / 281.4 MB, free: 12.62 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.75419158115983]