Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3458/0.3458, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.41e-05/4.763e-05, allocations: 10.31 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.0045/0.004548, allocations: 1.719 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.006782, allocations: 0.9781 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.006883, allocations: 0 / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.007286, allocations: 83.58 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.007685, allocations: 115.5 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.007922, allocations: 83.59 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.008154, allocations: 115.6 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.008271, allocations: 19.92 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.008402, allocations: 67.77 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.00864, allocations: 55.86 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.008663, allocations: 4 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.008775, allocations: 39.98 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.008852, allocations: 23.91 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.008907, allocations: 15.94 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.009214, allocations: 131.5 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.009218, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009219, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.009224, allocations: 4 kB / 380.8 MB, free: 15.4 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.0006753/0.0099, allocations: 353.5 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.009941, allocations: 8.031 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.01001, allocations: 20.84 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.01036, allocations: 149.6 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.01038, allocations: 4.359 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.01041, allocations: 384 / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.01058, allocations: 58.23 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.01059, allocations: 3.938 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.01061, allocations: 7.938 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.01061, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.01071, allocations: 23.92 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.01116, allocations: 232.6 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.01137, allocations: 58.66 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.361e-05/0.01145, allocations: 24.78 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.01147, allocations: 4 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.01165, allocations: 67.33 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.01165, allocations: 0 / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006858/0.01234, allocations: 197.5 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.01239, allocations: 51.41 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.01268, allocations: 223.6 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01271, allocations: 29.7 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.01279, allocations: 108.1 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.01283, allocations: 27.78 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.01289, allocations: 21.72 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.01308, allocations: 322.8 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.01316, allocations: 24.17 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.01328, allocations: 41.7 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.01343, allocations: 73.64 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.01343, allocations: 0 / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002285/0.01366, allocations: 113.5 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.01368, allocations: 9.859 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01369, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01371, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.0138, allocations: 12 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01381, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.01386, allocations: 8.031 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01387, allocations: 7.984 kB / 383.1 MB, free: 12.96 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.0001405/0.01401, allocations: 129.2 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.01405, allocations: 15.91 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.01434, allocations: 131 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01434, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.01435, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01435, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.01488, allocations: 350.9 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.01488, allocations: 11.97 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.01492, allocations: 11.94 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01493, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01494, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01494, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.01494, allocations: 3.984 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.01527, allocations: 220.2 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.0153, allocations: 7.953 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01532, allocations: 4 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.01541, allocations: 7.984 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.01545, allocations: 8 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.01547, allocations: 7.984 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.01564, allocations: 177.1 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01564, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.01594, allocations: 23.94 kB / 384.2 MB, free: 11.8 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.002252/0.01819, allocations: 0.4905 MB / 384.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.01841, allocations: 55.91 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01841, allocations: 4 kB / 384.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.0185, allocations: 32.08 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.01889, allocations: 36.05 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.01946, allocations: 256.1 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.0196, allocations: 108.9 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.01965, allocations: 12.97 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.01971, allocations: 16.5 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01971, allocations: 0 / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005838/0.02555, allocations: 1.882 MB / 387 MB, free: 9.113 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.844291527988389]