Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.002236/0.002236, allocations: 111.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002524/0.002524, allocations: 214.6 kB / 23.73 MB, free: 4.523 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2577/0.2577, allocations: 44.94 MB / 358.8 MB, free: 6.113 MB / 286.1 MB " [Timeout remaining time 179] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 0.4936 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3062, allocations: 65.48 MB / 0.5575 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003071/0.3093, allocations: 1.671 MB / 0.5591 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.311, allocations: 0.952 MB / 0.5601 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.3111, allocations: 0 / 0.5601 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3114, allocations: 51.75 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3117, allocations: 103.5 kB / 0.5602 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.3119, allocations: 75.73 kB / 0.5603 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3121, allocations: 99.69 kB / 0.5604 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.3121, allocations: 8.219 kB / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.3122, allocations: 35.8 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.3123, allocations: 35.78 kB / 0.5605 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3123, allocations: 4 kB / 0.5605 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.3124, allocations: 35.98 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.3125, allocations: 23.92 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.3125, allocations: 35.67 kB / 0.5606 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3127, allocations: 125.8 kB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3127, allocations: 8 kB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3127, allocations: 0 / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3128, allocations: 0 / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006046/0.3134, allocations: 365.4 kB / 0.561 GB, free: 3.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3134, allocations: 8.031 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.3134, allocations: 12.89 kB / 0.5611 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3137, allocations: 155.2 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3137, allocations: 4.312 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3137, allocations: 16.11 kB / 0.5612 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3139, allocations: 53.61 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3139, allocations: 11.98 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.3139, allocations: 0 / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3139, allocations: 0 / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.314, allocations: 15.98 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.3142, allocations: 137.3 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.3143, allocations: 54.61 kB / 0.5615 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.3144, allocations: 24.78 kB / 0.5615 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3144, allocations: 0 / 0.5615 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.3146, allocations: 71.33 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3146, allocations: 0 / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002897/0.3149, allocations: 101.6 kB / 0.5617 GB, free: 3.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3149, allocations: 55.41 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3152, allocations: 279.7 kB / 0.562 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3152, allocations: 29.7 kB / 0.562 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3153, allocations: 116.1 kB / 0.5621 GB, free: 2.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3153, allocations: 11.91 kB / 0.5621 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.3154, allocations: 21.7 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3155, allocations: 330.8 kB / 0.5625 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.3156, allocations: 16 kB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.3157, allocations: 29.7 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3158, allocations: 45.7 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3158, allocations: 0 / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000181/0.316, allocations: 93.45 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.316, allocations: 8 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.316, allocations: 0 / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.316, allocations: 0 / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.3161, allocations: 8 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3161, allocations: 8.031 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.3162, allocations: 11.88 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3162, allocations: 4.312 kB / 0.5627 GB, free: 1.969 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001367/0.3163, allocations: 137.8 kB / 0.5628 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3163, allocations: 15.84 kB / 0.5628 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3166, allocations: 102.8 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3166, allocations: 7.922 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3166, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3166, allocations: 0 / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.3168, allocations: 141.3 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3168, allocations: 0 / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.3169, allocations: 7.984 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3169, allocations: 3.938 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3169, allocations: 11.94 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3169, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3169, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.3171, allocations: 117 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3172, allocations: 15.84 kB / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.3172, allocations: 0 / 0.5632 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.3172, allocations: 7.984 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3173, allocations: 8 kB / 0.5632 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3173, allocations: 4 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.3176, allocations: 204.6 kB / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3178, allocations: 16 kB / 0.5635 GB, free: 1.113 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001805/0.3196, allocations: 451.9 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3198, allocations: 51.91 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3198, allocations: 0 / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.3199, allocations: 24.05 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3202, allocations: 33.59 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.3207, allocations: 274.4 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3209, allocations: 101.8 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.3209, allocations: 12.48 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3209, allocations: 15.44 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3209, allocations: 4 kB / 0.5644 GB, free: 308 kB / 398.1 MB Notification: Performance of Templates: time 0.005167/0.3261, allocations: 1.734 MB / 0.5661 GB, free: 14.6 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 5.323117520660162]