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.001941/0.001941, allocations: 112.5 kB / 21.19 MB, free: 0.7734 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.00231/0.00231, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2401/0.2401, allocations: 44.91 MB / 359.6 MB, free: 6.332 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.00216/0.00216, allocations: 75.89 kB / 0.4944 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 65.47 MB / 0.5583 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003563/0.3514, allocations: 1.958 MB / 0.5602 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3534, allocations: 1.088 MB / 0.5613 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.3535, allocations: 3.938 kB / 0.5613 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.3539, allocations: 47.69 kB / 0.5613 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.3542, allocations: 99.48 kB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.3545, allocations: 99.69 kB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3548, allocations: 147.5 kB / 0.5617 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3549, allocations: 29.39 kB / 0.5617 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3551, allocations: 63.7 kB / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3552, allocations: 55.66 kB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3552, allocations: 4 kB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.3553, allocations: 51.92 kB / 0.5619 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.3554, allocations: 31.84 kB / 0.5619 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.3555, allocations: 51.67 kB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.3558, allocations: 146.1 kB / 0.5621 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3558, allocations: 0 / 0.5621 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3558, allocations: 0 / 0.5621 GB, free: 3.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3558, allocations: 8 kB / 0.5621 GB, free: 3.855 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.3565, allocations: 415 kB / 0.5625 GB, free: 3.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3565, allocations: 8.031 kB / 0.5625 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.3566, allocations: 16.84 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3569, allocations: 179 kB / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3569, allocations: 384 / 0.5627 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.357, allocations: 20.06 kB / 0.5627 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.3572, allocations: 108.2 kB / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3572, allocations: 0 / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3573, allocations: 0 / 0.5628 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.3573, allocations: 8 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3574, allocations: 51.91 kB / 0.5629 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.3581, allocations: 480.1 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.3584, allocations: 86.59 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3585, allocations: 36.84 kB / 0.5634 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3586, allocations: 3.984 kB / 0.5634 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3588, allocations: 83.38 kB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.3588, allocations: 0 / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000413/0.3592, allocations: 137.5 kB / 0.5636 GB, free: 2.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3592, allocations: 63.28 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3595, allocations: 207.5 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3595, allocations: 29.7 kB / 0.5639 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.3596, allocations: 116.1 kB / 0.564 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3596, allocations: 35.73 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.3597, allocations: 33.64 kB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3598, allocations: 322.8 kB / 0.5644 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.3599, allocations: 27.98 kB / 0.5644 GB, free: 1.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.36, allocations: 68.27 kB / 0.5645 GB, free: 1.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.3602, allocations: 96.2 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3602, allocations: 4 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.3605, allocations: 133.5 kB / 0.5647 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3605, allocations: 7.984 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3605, allocations: 0 / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3606, allocations: 4 kB / 0.5647 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.3607, allocations: 27.88 kB / 0.5648 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3607, allocations: 3.984 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.3607, allocations: 12.08 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3608, allocations: 4 kB / 0.5648 GB, free: 0.8438 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.000123/0.3609, allocations: 141.6 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3609, allocations: 15.89 kB / 0.5649 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.3612, allocations: 131 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3612, allocations: 3.938 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3612, allocations: 3.938 kB / 0.5651 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3612, allocations: 4 kB / 0.5651 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3614, allocations: 180.9 kB / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3614, allocations: 0 / 0.5652 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/0.3615, allocations: 15.92 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3615, allocations: 0 / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3615, allocations: 4 kB / 0.5653 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3615, allocations: 3.938 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3615, allocations: 0 / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.3619, allocations: 180.9 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.3619, allocations: 11.94 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.362, allocations: 15.98 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.362, allocations: 7.938 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.3621, allocations: 3.984 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3621, allocations: 4 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3622, allocations: 143.2 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3625, allocations: 35.98 kB / 0.5657 GB, free: 15.88 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 (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.001561/0.364, allocations: 411.4 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3643, allocations: 67.91 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3643, allocations: 0 / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3644, allocations: 39.91 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3647, allocations: 46.48 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.3653, allocations: 309 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3657, allocations: 0.7123 MB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.3657, allocations: 15.44 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3657, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.0053/0.371, allocations: 2.233 MB / 0.5694 GB, free: 12.16 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.190364081878215]