Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.0009713/0.0009713, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.0009241/0.0009241, allocations: 165 kB / 24.56 MB, free: 16 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 0.9931/0.9931, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.3252/0.3252, allocations: 34.26 MB / 295.7 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.829e-05, allocations: 2.312 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002806/0.002834, allocations: 1.77 MB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.00427, allocations: 1.009 MB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.004368, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.004724, allocations: 59.52 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.005079, allocations: 99.53 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.005292, allocations: 75.61 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.005469, allocations: 123.5 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.005561, allocations: 4 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.005649, allocations: 51.83 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.005722, allocations: 27.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005738, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.005824, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.00588, allocations: 31.91 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.005922, allocations: 23.86 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.006108, allocations: 115.5 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006111, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006112, allocations: 0 / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006117, allocations: 4 kB / 381.6 MB, free: 15.12 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.0005073/0.006624, allocations: 475.6 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.006667, allocations: 12.03 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.006731, allocations: 16.84 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.006942, allocations: 169.2 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.006965, allocations: 384 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.006988, allocations: 8.312 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.007129, allocations: 58.94 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.007142, allocations: 3.938 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.007151, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.00716, allocations: 8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.007197, allocations: 11.98 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.007551, allocations: 295.8 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.007672, allocations: 55.09 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.007705, allocations: 23.62 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.007717, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.007837, allocations: 69.05 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.007838, allocations: 0 / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000477/0.008315, allocations: 177.2 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.008358, allocations: 51.41 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.00857, allocations: 273.6 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.008588, allocations: 33.64 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.008659, allocations: 166.9 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.00869, allocations: 23.8 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.008727, allocations: 27.36 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.008859, allocations: 0.5079 MB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.008886, allocations: 11.98 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.008924, allocations: 35.36 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.008992, allocations: 55.38 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008993, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001244/0.009118, allocations: 101.5 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.009134, allocations: 4 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009139, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.009155, allocations: 3.984 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.009234, allocations: 16 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.009242, allocations: 3.938 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.009273, allocations: 0 / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.009281, allocations: 4 kB / 384.2 MB, free: 12.23 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.0001059/0.009387, allocations: 172.5 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.009406, allocations: 15.91 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.00959, allocations: 111 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.009593, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.009599, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.009604, allocations: 4 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.009952, allocations: 401 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.009955, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.00999, allocations: 12 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.009993, allocations: 4.031 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.01001, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01001, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.01019, allocations: 263.4 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.0102, allocations: 15.89 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01022, allocations: 4.375 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.01028, allocations: 4 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.01032, allocations: 11.97 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.01035, allocations: 8 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01045, allocations: 208.4 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01045, allocations: 3.938 kB / 385.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01064, allocations: 27.92 kB / 385.5 MB, free: 10.9 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.001131/0.01177, allocations: 442.8 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.01192, allocations: 47.61 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01192, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/0.01197, allocations: 31.67 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01224, allocations: 36.09 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.01272, allocations: 262.4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.221e-05/0.01279, allocations: 75.33 kB / 386.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.01283, allocations: 12.97 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01287, allocations: 20.5 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01287, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.004686/0.01756, allocations: 2.031 MB / 388.4 MB, free: 8.094 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.192031185142696]