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.001302/0.001302, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001408/0.001408, allocations: 211.2 kB / 22.99 MB, free: 5.609 MB / 14.72 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.648/1.648, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4511, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003478/0.4546, allocations: 1.64 MB / 431.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.456, allocations: 0.5726 MB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4561, allocations: 4 kB / 432 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4562, allocations: 7.875 kB / 432 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.4563, allocations: 11.86 kB / 432 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.4567, allocations: 67.8 kB / 432.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.4568, allocations: 75.7 kB / 432.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.457, allocations: 8 kB / 432.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.4571, allocations: 27.92 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.4572, allocations: 39.83 kB / 432.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.4573, allocations: 0 / 432.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.4573, allocations: 8 kB / 432.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.4574, allocations: 15.92 kB / 432.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.4575, allocations: 31.75 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.4577, allocations: 84.8 kB / 432.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.4577, allocations: 0 / 432.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4577, allocations: 0 / 432.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4577, allocations: 4 kB / 432.4 MB, free: 4.953 MB / 334.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.0007665/0.4585, allocations: 402.9 kB / 432.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.4585, allocations: 12.03 kB / 432.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.4588, allocations: 28.86 kB / 432.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.4591, allocations: 212.1 kB / 433 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4591, allocations: 4.375 kB / 433 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4592, allocations: 8.359 kB / 433 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.4595, allocations: 130.2 kB / 433.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4595, allocations: 0 / 433.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4595, allocations: 4 kB / 433.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4596, allocations: 4 kB / 433.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.4597, allocations: 47.84 kB / 433.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.4602, allocations: 373.8 kB / 433.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4604, allocations: 87.77 kB / 433.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.4605, allocations: 34.62 kB / 433.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4605, allocations: 7.938 kB / 433.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4606, allocations: 34.56 kB / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.4606, allocations: 0 / 433.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003806/0.4609, allocations: 117.5 kB / 433.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.461, allocations: 106.8 kB / 434 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4612, allocations: 154.6 kB / 434.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4612, allocations: 33.7 kB / 434.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.4613, allocations: 96.08 kB / 434.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.4613, allocations: 7.953 kB / 434.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.4613, allocations: 21.7 kB / 434.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4615, allocations: 314.8 kB / 434.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.4615, allocations: 23.97 kB / 434.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.4616, allocations: 43.42 kB / 434.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.4618, allocations: 63.34 kB / 434.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4618, allocations: 0 / 434.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001867/0.462, allocations: 93.55 kB / 434.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.462, allocations: 4 kB / 434.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.462, allocations: 0 / 434.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.462, allocations: 4 kB / 434.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.4621, allocations: 19.92 kB / 434.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4621, allocations: 0 / 434.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.4621, allocations: 4 kB / 434.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4622, allocations: 8.125 kB / 434.8 MB, free: 2.195 MB / 334.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: 0 () * 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.0001076/0.4623, allocations: 125.8 kB / 435 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.4624, allocations: 53.59 kB / 435 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.4624, allocations: 15.83 kB / 435 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.4624, allocations: 7.984 kB / 435 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4624, allocations: 3.938 kB / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4624, allocations: 0 / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.4627, allocations: 189.6 kB / 435.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4627, allocations: 32 / 435.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.4627, allocations: 12 kB / 435.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4627, allocations: 0 / 435.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4627, allocations: 3.984 kB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4628, allocations: 4 kB / 435.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4628, allocations: 0 / 435.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.4631, allocations: 275.5 kB / 435.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.4631, allocations: 96.98 kB / 435.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4632, allocations: 3.938 kB / 435.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4633, allocations: 7.984 kB / 435.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.4633, allocations: 4.141 kB / 435.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.4633, allocations: 0 / 435.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.4634, allocations: 120.1 kB / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4634, allocations: 0 / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4637, allocations: 12 kB / 435.8 MB, free: 1.168 MB / 334.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: 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 0.0001342/0.4638, allocations: 107.2 kB / 435.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4641, allocations: 55.84 kB / 435.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4641, allocations: 0 / 435.9 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.4641, allocations: 16.3 kB / 435.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4646, allocations: 28.08 kB / 436 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.465, allocations: 212.6 kB / 436.2 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4654, allocations: 0.6963 MB / 436.9 MB, free: 16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.4655, allocations: 16.08 kB / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.4655, allocations: 11.44 kB / 436.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4655, allocations: 0 / 436.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.003731/0.4692, allocations: 0.7139 MB / 437.6 MB, free: 15.27 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.09629418887198]