Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 209.5 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2785/0.2785, allocations: 46.93 MB / 362 MB, free: 4.227 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 83.84 kB / 0.4979 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 66.08 MB / 0.5624 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00322/0.353, allocations: 1.741 MB / 0.5641 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3557, allocations: 1.734 MB / 0.5658 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3557, allocations: 3.938 kB / 0.5658 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.356, allocations: 43.77 kB / 0.5658 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.3563, allocations: 95.59 kB / 0.5659 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.3566, allocations: 83.66 kB / 0.566 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3568, allocations: 115.6 kB / 0.5661 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3569, allocations: 4 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.357, allocations: 55.77 kB / 0.5662 GB, free: 384 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3571, allocations: 35.84 kB / 0.5662 GB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3571, allocations: 4 kB / 0.5662 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.3573, allocations: 111.9 kB / 0.5663 GB, free: 232 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.3574, allocations: 19.91 kB / 0.5663 GB, free: 212 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.3574, allocations: 31.81 kB / 0.5664 GB, free: 180 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.3577, allocations: 173.8 kB / 0.5665 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3577, allocations: 0 / 0.5665 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3577, allocations: 4 kB / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3577, allocations: 0 / 0.5665 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006133/0.3583, allocations: 349.5 kB / 0.5669 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3584, allocations: 12.03 kB / 0.5669 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.3584, allocations: 12.84 kB / 0.5669 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3587, allocations: 158.9 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3588, allocations: 384 / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3588, allocations: 8.125 kB / 0.5671 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.359, allocations: 97.03 kB / 0.5671 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.359, allocations: 0 / 0.5671 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.359, allocations: 11.94 kB / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.359, allocations: 0 / 0.5672 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.805e-05/0.3591, allocations: 15.98 kB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.3595, allocations: 260 kB / 0.5674 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3597, allocations: 54.69 kB / 0.5675 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.3597, allocations: 20.78 kB / 0.5675 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3597, allocations: 4 kB / 0.5675 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.3599, allocations: 63.39 kB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3599, allocations: 0 / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005719/0.3605, allocations: 181.3 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.3605, allocations: 77.11 kB / 0.5678 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3607, allocations: 166.5 kB / 0.568 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3608, allocations: 25.7 kB / 0.568 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.3608, allocations: 100.1 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.3609, allocations: 23.75 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3609, allocations: 33.64 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3611, allocations: 322.8 kB / 0.5684 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.3611, allocations: 24 kB / 0.5685 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.3612, allocations: 68.27 kB / 0.5685 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.3613, allocations: 65.69 kB / 0.5686 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3613, allocations: 0 / 0.5686 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002063/0.3615, allocations: 105.9 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3616, allocations: 8.062 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3616, allocations: 0 / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3616, allocations: 0 / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.3617, allocations: 20 kB / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3617, allocations: 0 / 0.5687 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.3617, allocations: 11.92 kB / 0.5687 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3617, allocations: 4 kB / 0.5687 GB, free: 13.52 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 (10): * Single equations (assignments): 10 * 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.000107/0.3618, allocations: 117.8 kB / 0.5688 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.3619, allocations: 7.953 kB / 0.5689 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3621, allocations: 118.3 kB / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3621, allocations: 0 / 0.569 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3621, allocations: 4 kB / 0.569 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3621, allocations: 7.875 kB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.3626, allocations: 366.3 kB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3626, allocations: 0 / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.3627, allocations: 8 kB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.3627, allocations: 7.984 kB / 0.5693 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3627, allocations: 7.969 kB / 0.5694 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3627, allocations: 0 / 0.5694 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3627, allocations: 0 / 0.5694 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3629, allocations: 208.3 kB / 0.5696 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.363, allocations: 11.95 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.363, allocations: 3.938 kB / 0.5696 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.3631, allocations: 11.98 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3631, allocations: 4 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3631, allocations: 11.97 kB / 0.5696 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3633, allocations: 131.9 kB / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3633, allocations: 0 / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3636, allocations: 43.86 kB / 0.5698 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002088/0.3657, allocations: 0.5419 MB / 0.5703 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3659, allocations: 55.92 kB / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3659, allocations: 0 / 0.5703 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.366, allocations: 27.92 kB / 0.5704 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3664, allocations: 28.28 kB / 0.5704 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.3669, allocations: 214.8 kB / 0.5706 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3673, allocations: 0.6963 MB / 0.5713 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.3674, allocations: 20.95 kB / 0.5713 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3674, allocations: 19.42 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3674, allocations: 4 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of Templates: time 0.006944/0.3744, allocations: 2.393 MB / 0.5737 GB, free: 8.531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.3265124331228435]