Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001377/0.001377, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001546/0.001546, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.254/0.254, allocations: 46.98 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.91 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3532, allocations: 66.03 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003296/0.3565, allocations: 1.671 MB / 0.5635 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3583, allocations: 0.9548 MB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3584, allocations: 0 / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.3588, allocations: 87.69 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.3591, allocations: 119.6 kB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3593, allocations: 75.67 kB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.3595, allocations: 111.7 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.3596, allocations: 240 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.3597, allocations: 51.78 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.3598, allocations: 63.75 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3598, allocations: 4 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.3599, allocations: 35.97 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.36, allocations: 27.86 kB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.3601, allocations: 27.8 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3603, allocations: 114 kB / 0.5651 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3603, allocations: 4 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3603, allocations: 0 / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3603, allocations: 0 / 0.5651 GB, free: 0.7734 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.00064/0.361, allocations: 345.5 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.361, allocations: 8.031 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.361, allocations: 16.83 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.3614, allocations: 158.3 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3614, allocations: 4.375 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3614, allocations: 4.125 kB / 0.5656 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3616, allocations: 57.61 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3616, allocations: 0 / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.3616, allocations: 4 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3616, allocations: 0 / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3617, allocations: 15.98 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.3619, allocations: 129.3 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3621, allocations: 54.61 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.3622, allocations: 20.8 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.3622, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3623, allocations: 79.31 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3623, allocations: 0 / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003254/0.3627, allocations: 101.5 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.3627, allocations: 55.41 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.363, allocations: 219.6 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.363, allocations: 25.7 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3632, allocations: 108.1 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3632, allocations: 7.953 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3632, allocations: 21.7 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3634, allocations: 326.8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.3635, allocations: 16 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3635, allocations: 29.7 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3637, allocations: 49.64 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3637, allocations: 0 / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001664/0.3638, allocations: 93.83 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3638, allocations: 7.938 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3638, allocations: 0 / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3639, allocations: 4 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.3639, allocations: 16.03 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3639, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.364, allocations: 7.938 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.364, allocations: 0 / 0.567 GB, free: 14.63 MB / 414.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.000116/0.3641, allocations: 126.4 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3641, allocations: 19.84 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.3644, allocations: 102.7 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3644, allocations: 4 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3644, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3644, allocations: 3.938 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3645, allocations: 145.3 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3645, allocations: 0 / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.3646, allocations: 4 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3646, allocations: 3.938 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3646, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3646, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3646, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3648, allocations: 121 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.3648, allocations: 23.78 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3648, allocations: 3.984 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.956e-05/0.3649, allocations: 8 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3649, allocations: 0 / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3649, allocations: 11.92 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3651, allocations: 169.1 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3651, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.3653, allocations: 20 kB / 0.5678 GB, free: 13.81 MB / 414.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.0016/0.3669, allocations: 433.2 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.3671, allocations: 51.84 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3671, allocations: 4.062 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.3672, allocations: 19.98 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.3675, allocations: 40.05 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.368, allocations: 226.4 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3681, allocations: 88.19 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.3682, allocations: 16.47 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.3682, allocations: 19.44 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3682, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of Templates: time 0.004919/0.3731, allocations: 1.707 MB / 0.5703 GB, free: 11.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.2484644840005785]