Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001838/0.001838, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002235/0.002235, allocations: 209 kB / 24.48 MB, free: 3.938 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.536/1.536, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.252/0.252, allocations: 44.94 MB / 359.6 MB, free: 6.023 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [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.002124/0.002124, allocations: 67.91 kB / 0.4943 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 65.48 MB / 0.5583 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003799/0.3424, allocations: 1.885 MB / 0.5601 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3444, allocations: 1.014 MB / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3445, allocations: 0 / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.3449, allocations: 47.64 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.3453, allocations: 99.55 kB / 0.5612 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3455, allocations: 103.6 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.3458, allocations: 147.5 kB / 0.5615 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3459, allocations: 24.34 kB / 0.5615 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.346, allocations: 59.72 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3461, allocations: 51.64 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3462, allocations: 8 kB / 0.5616 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3463, allocations: 47.98 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.3464, allocations: 31.84 kB / 0.5617 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.3464, allocations: 35.75 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3467, allocations: 155 kB / 0.5619 GB, free: 3.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3467, allocations: 0 / 0.5619 GB, free: 3.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3467, allocations: 4 kB / 0.5619 GB, free: 3.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3467, allocations: 0 / 0.5619 GB, free: 3.707 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007075/0.3475, allocations: 423 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3475, allocations: 8.031 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.3476, allocations: 16.84 kB / 0.5623 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3479, allocations: 174.9 kB / 0.5625 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3479, allocations: 4.375 kB / 0.5625 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.348, allocations: 12.12 kB / 0.5625 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.3483, allocations: 133.9 kB / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3483, allocations: 0 / 0.5626 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3483, allocations: 7.984 kB / 0.5626 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3483, allocations: 4 kB / 0.5626 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3485, allocations: 47.91 kB / 0.5627 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.3491, allocations: 456.7 kB / 0.5631 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.3495, allocations: 86.66 kB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3496, allocations: 36.84 kB / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3496, allocations: 0 / 0.5632 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3498, allocations: 117 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.3498, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004625/0.3503, allocations: 145.5 kB / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3504, allocations: 51.41 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3506, allocations: 215.4 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3506, allocations: 33.7 kB / 0.5638 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.3507, allocations: 116.1 kB / 0.5639 GB, free: 1.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3508, allocations: 31.73 kB / 0.5639 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.3508, allocations: 33.66 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.351, allocations: 326.8 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.3511, allocations: 31.97 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3512, allocations: 60.28 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3514, allocations: 104.1 kB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3514, allocations: 0 / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002871/0.3517, allocations: 141.4 kB / 0.5646 GB, free: 0.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3517, allocations: 4 kB / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3517, allocations: 0 / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3517, allocations: 7.984 kB / 0.5646 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3518, allocations: 20.12 kB / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3518, allocations: 15.86 kB / 0.5646 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.3519, allocations: 11.95 kB / 0.5646 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3519, allocations: 4 kB / 0.5646 GB, free: 0.6445 MB / 398.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.0001248/0.3521, allocations: 129.8 kB / 0.5647 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3521, allocations: 15.89 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.3524, allocations: 135 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3524, allocations: 0 / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3524, allocations: 7.938 kB / 0.5649 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3524, allocations: 4 kB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3526, allocations: 149.5 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3526, allocations: 0 / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.3527, allocations: 15.92 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3527, allocations: 4 kB / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3527, allocations: 0 / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3527, allocations: 0 / 0.5651 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3527, allocations: 3.938 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.3531, allocations: 200.9 kB / 0.5653 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.3532, allocations: 11.94 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3532, allocations: 8 kB / 0.5653 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.3533, allocations: 11.98 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.3533, allocations: 3.984 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.3533, allocations: 11.94 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3535, allocations: 143.2 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3535, allocations: 0 / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3537, allocations: 35.88 kB / 0.5655 GB, free: 15.7 MB / 414.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.001686/0.3554, allocations: 433.4 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3557, allocations: 83.83 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3557, allocations: 0 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3558, allocations: 39.97 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3561, allocations: 35.36 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/0.3568, allocations: 317 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3569, allocations: 110 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.357, allocations: 15.44 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.357, allocations: 4 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of Templates: time 0.004934/0.3619, allocations: 2.26 MB / 0.5687 GB, free: 12.55 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 8.308924037963152]