Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009845/0.0009845, allocations: 79.59 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.0009757/0.0009757, allocations: 161 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.9432/0.9432, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2637/0.2637, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.188e-05, allocations: 2.312 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002535/0.002567, allocations: 1.945 MB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.00393, allocations: 1.107 MB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.00403, allocations: 0 / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.004393, allocations: 167.3 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.004822, allocations: 183.2 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.005088, allocations: 119.5 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.005389, allocations: 255.2 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005503, allocations: 17.97 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.005673, allocations: 139.5 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005831, allocations: 135.7 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.005854, allocations: 8 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.005977, allocations: 59.92 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.006048, allocations: 59.77 kB / 380.3 MB, free: 380 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.006115, allocations: 47.78 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.0064, allocations: 175.3 kB / 380.5 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.006406, allocations: 3.984 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006407, allocations: 0 / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.006413, allocations: 0 / 380.5 MB, free: 152 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006693/0.007082, allocations: 0.5677 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.007125, allocations: 12.03 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.007208, allocations: 40.73 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.007471, allocations: 216.5 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.007499, allocations: 8.375 kB / 381.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.007526, allocations: 8.359 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.007743, allocations: 119.3 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.007757, allocations: 0 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007771, allocations: 7.938 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.007779, allocations: 4 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.007839, allocations: 27.97 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.008328, allocations: 0.5061 MB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.008609, allocations: 114.2 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.008659, allocations: 35.48 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.008675, allocations: 7.938 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.008835, allocations: 116.4 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.008836, allocations: 0 / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008638/0.0097, allocations: 465.3 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.009743, allocations: 77.11 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.009985, allocations: 358.3 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.01001, allocations: 33.7 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.0101, allocations: 195.3 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.01016, allocations: 79.38 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.01021, allocations: 51.36 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.01035, allocations: 0.5157 MB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.01041, allocations: 35.98 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.01049, allocations: 78.72 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.01063, allocations: 134.8 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01063, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002274/0.01086, allocations: 197.3 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01087, allocations: 8 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01088, allocations: 3.938 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01089, allocations: 8.062 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.01099, allocations: 39.92 kB / 384.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.011, allocations: 4 kB / 384.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.01105, allocations: 8 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01106, allocations: 7.984 kB / 384.5 MB, free: 11.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.837e-05/0.01116, allocations: 176.5 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.0112, allocations: 35.81 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.01148, allocations: 219.9 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.01149, allocations: 4 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.01149, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.0115, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.01205, allocations: 0.7488 MB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01205, allocations: 0 / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.01211, allocations: 31.92 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01212, allocations: 4 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.01213, allocations: 11.98 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.01214, allocations: 7.938 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01214, allocations: 3.984 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.01243, allocations: 0.5045 MB / 386.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01245, allocations: 27.8 kB / 386.3 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.01248, allocations: 15.92 kB / 386.3 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.01256, allocations: 8 kB / 386.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.01261, allocations: 23.97 kB / 386.4 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01262, allocations: 11.98 kB / 386.4 MB, free: 9.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.01276, allocations: 247 kB / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01276, allocations: 0 / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.013, allocations: 47.94 kB / 386.7 MB, free: 9.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009651/0.01397, allocations: 0.4884 MB / 387.1 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.01417, allocations: 128 kB / 387.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01417, allocations: 0 / 387.3 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.01425, allocations: 79.66 kB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.01461, allocations: 72.66 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.01516, allocations: 465.6 kB / 387.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.01522, allocations: 92.3 kB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.762e-05/0.0153, allocations: 46.14 kB / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.01536, allocations: 32.5 kB / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01536, allocations: 0 / 388 MB, free: 8.312 MB / 362.7 MB Notification: Performance of Templates: time 0.005438/0.02079, allocations: 3.594 MB / 391.6 MB, free: 4.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.0832105288282037]