Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.002024/0.002024, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002854/0.002854, allocations: 156.9 kB / 24.27 MB, free: 172 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.544/1.544, allocations: 177 MB / 204.4 MB, free: 5.625 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.3507/0.3507, allocations: 34.24 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.324e-05, allocations: 4.984 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003743/0.003777, allocations: 1.708 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.005812, allocations: 0.9853 MB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.005914, allocations: 3.938 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.006309, allocations: 83.62 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.006773, allocations: 115.5 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.007049, allocations: 79.61 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.007285, allocations: 119.5 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.007386, allocations: 11.94 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.007552, allocations: 67.8 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.007691, allocations: 59.88 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.007715, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.007847, allocations: 39.98 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.007913, allocations: 23.91 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.756e-05/0.00797, allocations: 19.92 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.008235, allocations: 135.4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.008239, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.00824, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.008243, allocations: 0 / 380.7 MB, free: 15.35 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.0006232/0.008866, allocations: 349.5 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.008905, allocations: 12.03 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.008978, allocations: 16.84 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.009291, allocations: 149.6 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.009305, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.009332, allocations: 4.312 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.009517, allocations: 62.23 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.009528, allocations: 192 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.009538, allocations: 4.312 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.009545, allocations: 3.938 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.009629, allocations: 27.97 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.01003, allocations: 236.6 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.01022, allocations: 54.62 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.358e-05/0.01029, allocations: 20.84 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.0103, allocations: 4 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.01048, allocations: 67.33 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.01048, allocations: 0 / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000636/0.01112, allocations: 193.3 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.01117, allocations: 51.41 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.01145, allocations: 231.5 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01147, allocations: 29.7 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.01156, allocations: 104.1 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.0116, allocations: 27.78 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.01165, allocations: 25.72 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.01183, allocations: 326.8 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.05e-05/0.0119, allocations: 23.94 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.01198, allocations: 37.7 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.01212, allocations: 57.7 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01212, allocations: 4 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002477/0.01237, allocations: 117.5 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01238, allocations: 4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01239, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01241, allocations: 4 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.0125, allocations: 15.98 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01251, allocations: 160 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.01256, allocations: 7.938 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01257, allocations: 0 / 383 MB, free: 12.93 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.0001256/0.01269, allocations: 133.9 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.01273, allocations: 19.84 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.01302, allocations: 131 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01302, allocations: 0 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01303, allocations: 384 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01303, allocations: 0 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.01356, allocations: 354.9 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.01357, allocations: 7.938 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.01361, allocations: 15.98 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.01361, allocations: 3.984 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.01362, allocations: 4.031 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.01363, allocations: 4 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01363, allocations: 0 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.01394, allocations: 220.2 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.01397, allocations: 11.94 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.01399, allocations: 4 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.01407, allocations: 4 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.01412, allocations: 7.984 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.01414, allocations: 4 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.01432, allocations: 173.1 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01432, allocations: 8 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.0146, allocations: 23.94 kB / 384.1 MB, free: 11.75 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.002302/0.0169, allocations: 484.4 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01712, allocations: 63.84 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01712, allocations: 0 / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.01721, allocations: 35.97 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.01757, allocations: 19.98 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.01814, allocations: 268.1 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.01826, allocations: 96.94 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.01831, allocations: 21.27 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.01836, allocations: 16.5 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01836, allocations: 0 / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.005744/0.0241, allocations: 1.869 MB / 386.9 MB, free: 9.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.927379457978532]