Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.001943/0.001943, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002001/0.002001, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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.601/1.601, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3574/0.3574, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.4e-05, allocations: 4.703 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003626/0.00366, allocations: 1.731 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.005685, allocations: 1.001 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.005759, allocations: 0 / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.006164, allocations: 87.62 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.006534, allocations: 115.5 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.006764, allocations: 79.66 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.006978, allocations: 123.5 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.007061, allocations: 11.94 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.007189, allocations: 55.89 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.007313, allocations: 63.8 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.007336, allocations: 4 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.007444, allocations: 51.91 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.007506, allocations: 19.92 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.007562, allocations: 15.94 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.007808, allocations: 131.5 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.007811, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007813, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.007817, allocations: 0 / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008206/0.008638, allocations: 463.5 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.008673, allocations: 12.03 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.008736, allocations: 20.83 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.008989, allocations: 152.4 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.009006, allocations: 4.375 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.009029, allocations: 4.359 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.009177, allocations: 50.25 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.009189, allocations: 192 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.009201, allocations: 4.359 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.00921, allocations: 7.938 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.009288, allocations: 15.94 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.009778, allocations: 311.7 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.009971, allocations: 63.16 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.01003, allocations: 23.67 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.01005, allocations: 4 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.01022, allocations: 80.92 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.01022, allocations: 0 / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006015/0.01082, allocations: 169.4 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.01087, allocations: 63.33 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.01115, allocations: 262.7 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01118, allocations: 29.7 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.0113, allocations: 162.9 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.01133, allocations: 27.8 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.0114, allocations: 35.36 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.01169, allocations: 0.5001 MB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.01175, allocations: 16 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.01182, allocations: 43.36 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01196, allocations: 67.3 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01196, allocations: 384 / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.01217, allocations: 109.5 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01219, allocations: 12.02 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.0122, allocations: 4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01221, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.0123, allocations: 19.94 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.01232, allocations: 160 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.01237, allocations: 4 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01238, allocations: 7.984 kB / 383.5 MB, free: 12.4 MB / 362.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001356/0.01252, allocations: 164.6 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.01255, allocations: 19.84 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.01282, allocations: 119 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01283, allocations: 4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01283, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01283, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.01341, allocations: 428.9 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01341, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.01345, allocations: 8 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.01346, allocations: 7.938 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.01347, allocations: 4 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01347, allocations: 0 / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.01348, allocations: 7.938 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.01399, allocations: 271.5 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.01401, allocations: 15.89 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01404, allocations: 4 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.01411, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01415, allocations: 11.97 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.01417, allocations: 8 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.01435, allocations: 193 kB / 384.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01435, allocations: 0 / 384.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.01461, allocations: 23.94 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003438/0.01805, allocations: 481.1 kB / 385.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.01829, allocations: 75.53 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01829, allocations: 3.938 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.01838, allocations: 43.61 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.01875, allocations: 32.09 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.01931, allocations: 248.6 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.01942, allocations: 96.8 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.01947, allocations: 17.27 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.01952, allocations: 16.5 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01952, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005633/0.02515, allocations: 1.873 MB / 387.6 MB, free: 8.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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: 4.903837415971793]