Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001296/0.001296, allocations: 83.77 kB / 20.68 MB, free: 1.023 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.001364/0.001364, allocations: 164.1 kB / 23.96 MB, free: 4.145 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.401/1.401, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.2034/0.2034, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.782e-05, allocations: 2.281 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003112/0.00314, allocations: 1.902 MB / 442.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.004957, allocations: 1.009 MB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.005043, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.005334, allocations: 47.64 kB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.005648, allocations: 103.4 kB / 443.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.005875, allocations: 99.59 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.006105, allocations: 151.5 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.006214, allocations: 21.8 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.00635, allocations: 79.73 kB / 443.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.006456, allocations: 39.83 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.006482, allocations: 8 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.006583, allocations: 47.92 kB / 443.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.006653, allocations: 31.84 kB / 443.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.006719, allocations: 27.92 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.006974, allocations: 147.5 kB / 443.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.006977, allocations: 4 kB / 443.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006978, allocations: 0 / 443.9 MB, free: 4.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.006983, allocations: 3.938 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006655/0.007648, allocations: 419 kB / 444.3 MB, free: 3.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.007682, allocations: 8.031 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.007735, allocations: 16.84 kB / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.007991, allocations: 170.3 kB / 444.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.008006, allocations: 4.375 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.008034, allocations: 12.38 kB / 444.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.008292, allocations: 138.4 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.008302, allocations: 3.938 kB / 444.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.008318, allocations: 4 kB / 444.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.008324, allocations: 7.938 kB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.008484, allocations: 51.89 kB / 444.7 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.009054, allocations: 444.7 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.009403, allocations: 90.59 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.009512, allocations: 40.83 kB / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.009527, allocations: 0 / 445.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.009738, allocations: 113.1 kB / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.009739, allocations: 0 / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004247/0.01016, allocations: 145.5 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.01021, allocations: 51.41 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01044, allocations: 215.6 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01046, allocations: 25.7 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.01055, allocations: 124 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.01059, allocations: 31.73 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.01064, allocations: 29.66 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01078, allocations: 330.8 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.01089, allocations: 39.97 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.011, allocations: 56.28 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.01121, allocations: 104.6 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01122, allocations: 0 / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.01152, allocations: 141.4 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01154, allocations: 8 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01154, allocations: 0 / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01156, allocations: 8.109 kB / 446.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01166, allocations: 23.94 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01167, allocations: 7.984 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.01174, allocations: 4 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01175, allocations: 4 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001292/0.01188, allocations: 132.5 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.01191, allocations: 19.89 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.01223, allocations: 143 kB / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01224, allocations: 0 / 447 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.01224, allocations: 4 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01224, allocations: 0 / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.0124, allocations: 157.1 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0124, allocations: 0 / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.01248, allocations: 15.98 kB / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01248, allocations: 0 / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.0125, allocations: 8 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.0125, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0125, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.01293, allocations: 200.8 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.01295, allocations: 11.94 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01298, allocations: 0 / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.01305, allocations: 8.266 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.0131, allocations: 11.98 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.01312, allocations: 4 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.01326, allocations: 151.2 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01326, allocations: 3.938 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.01349, allocations: 27.94 kB / 447.6 MB, free: 360 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001693/0.01519, allocations: 436.5 kB / 448 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.01547, allocations: 87.83 kB / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01547, allocations: 0 / 448.1 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1687/0.1841, allocations: 37.27 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.1845, allocations: 37.8 kB / 448.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.1852, allocations: 256.8 kB / 448.4 MB, free: 21.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.1853, allocations: 107.7 kB / 448.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.1854, allocations: 18.86 kB / 448.5 MB, free: 21.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1854, allocations: 21.78 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1854, allocations: 0 / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006085/0.1915, allocations: 2.021 MB / 450.6 MB, free: 21.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.565351493656635]