Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 47.91 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 49.44 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003418/0.1228, allocations: 1.609 MB / 409.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1238, allocations: 486.6 kB / 410.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.1239, allocations: 4 kB / 410.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1241, allocations: 3.938 kB / 410.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1242, allocations: 15.86 kB / 410.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1245, allocations: 51.83 kB / 410.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1247, allocations: 59.77 kB / 410.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1248, allocations: 19.98 kB / 410.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.1249, allocations: 27.86 kB / 410.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.125, allocations: 23.86 kB / 410.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.125, allocations: 8 kB / 410.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.77e-05/0.1251, allocations: 4 kB / 410.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1251, allocations: 23.91 kB / 410.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.1252, allocations: 31.73 kB / 410.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1254, allocations: 71.61 kB / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1254, allocations: 0 / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1254, allocations: 0 / 410.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1254, allocations: 0 / 410.5 MB, free: 4.43 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.0006914/0.1261, allocations: 402.9 kB / 410.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1261, allocations: 16.03 kB / 410.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.1262, allocations: 8.891 kB / 411 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1265, allocations: 200.1 kB / 411.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1265, allocations: 8.359 kB / 411.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1266, allocations: 4.375 kB / 411.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1269, allocations: 134.2 kB / 411.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.127, allocations: 0 / 411.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.127, allocations: 0 / 411.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.127, allocations: 4 kB / 411.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1272, allocations: 35.91 kB / 411.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.1277, allocations: 385.8 kB / 411.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1279, allocations: 83.75 kB / 411.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.128, allocations: 42.62 kB / 411.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1281, allocations: 3.938 kB / 411.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1281, allocations: 42.56 kB / 411.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1281, allocations: 3.938 kB / 411.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.1286, allocations: 109.8 kB / 412 MB, free: 2.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/0.1287, allocations: 110.8 kB / 412.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1288, allocations: 156.4 kB / 412.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1289, allocations: 29.7 kB / 412.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.1289, allocations: 92.08 kB / 412.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.129, allocations: 19.88 kB / 412.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.129, allocations: 13.72 kB / 412.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1292, allocations: 326.8 kB / 412.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1293, allocations: 19.98 kB / 412.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.1294, allocations: 39.42 kB / 412.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.1296, allocations: 71.33 kB / 412.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1296, allocations: 0 / 412.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002007/0.1298, allocations: 81.56 kB / 412.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1298, allocations: 11.98 kB / 412.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1298, allocations: 0 / 412.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1298, allocations: 4.125 kB / 412.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.13, allocations: 12 kB / 413 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.13, allocations: 3.938 kB / 413 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.13, allocations: 7.984 kB / 413 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1301, allocations: 0 / 413 MB, free: 1.695 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.0001232/0.1302, allocations: 129.7 kB / 413.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.17e-05/0.1303, allocations: 49.66 kB / 413.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.1303, allocations: 15.86 kB / 413.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.1303, allocations: 8.031 kB / 413.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1304, allocations: 0 / 413.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1304, allocations: 0 / 413.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1306, allocations: 181.6 kB / 413.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1306, allocations: 0 / 413.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.1307, allocations: 7.984 kB / 413.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.1307, allocations: 7.938 kB / 413.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1307, allocations: 7.938 kB / 413.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1307, allocations: 0 / 413.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1307, allocations: 0 / 413.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.1311, allocations: 275.5 kB / 413.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.1312, allocations: 97.03 kB / 413.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1312, allocations: 0 / 413.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1313, allocations: 4 kB / 413.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.1314, allocations: 8 kB / 413.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1314, allocations: 7.984 kB / 413.7 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.756e-05/0.1315, allocations: 116.8 kB / 413.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 413.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1318, allocations: 11.94 kB / 413.9 MB, free: 0.6797 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.0001497/0.1319, allocations: 99.25 kB / 414 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1322, allocations: 55.97 kB / 414 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1322, allocations: 0 / 414 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.1323, allocations: 23.97 kB / 414 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1328, allocations: 24.02 kB / 414.1 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.1333, allocations: 239.2 kB / 414.3 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.1337, allocations: 0.7039 MB / 415 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1337, allocations: 11.44 kB / 415 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1337, allocations: 0 / 415 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Templates: time 0.002807/0.1366, allocations: 0.9321 MB / 416 MB, free: 14.53 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.248264861991629]