Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.001283/0.001283, allocations: 113.1 kB / 21.85 MB, free: 64 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.001431/0.001431, allocations: 206.7 kB / 25.13 MB, free: 3.574 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.415/1.415, allocations: 230.4 MB / 258.7 MB, free: 8.066 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.2451/0.2451, allocations: 46.93 MB / 362 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") [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.00234/0.00234, allocations: 83.86 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3426, allocations: 66.09 MB / 0.5624 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.00338/0.346, allocations: 1.733 MB / 0.5641 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3478, allocations: 1.048 MB / 0.5651 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.3479, allocations: 4 kB / 0.5651 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.3482, allocations: 47.75 kB / 0.5652 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3486, allocations: 95.53 kB / 0.5653 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3488, allocations: 71.75 kB / 0.5653 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.349, allocations: 115.6 kB / 0.5654 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3491, allocations: 8 kB / 0.5654 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3492, allocations: 47.78 kB / 0.5655 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.3493, allocations: 31.84 kB / 0.5655 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3493, allocations: 4 kB / 0.5655 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3494, allocations: 43.92 kB / 0.5656 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.3494, allocations: 19.92 kB / 0.5656 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.3495, allocations: 47.66 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.3497, allocations: 121.9 kB / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3498, allocations: 0 / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3498, allocations: 0 / 0.5657 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3498, allocations: 4 kB / 0.5657 GB, free: 0.7695 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005922/0.3504, allocations: 349.5 kB / 0.5661 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3504, allocations: 15.97 kB / 0.5661 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3504, allocations: 16.77 kB / 0.5661 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3508, allocations: 158.3 kB / 0.5663 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3508, allocations: 4.375 kB / 0.5663 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3508, allocations: 4.359 kB / 0.5663 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.351, allocations: 57.98 kB / 0.5663 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.351, allocations: 7.984 kB / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.351, allocations: 0 / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.351, allocations: 4 kB / 0.5663 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.3511, allocations: 15.98 kB / 0.5664 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3515, allocations: 271.8 kB / 0.5666 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3517, allocations: 50.69 kB / 0.5667 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.3517, allocations: 24.84 kB / 0.5667 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3518, allocations: 4 kB / 0.5667 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3519, allocations: 67.33 kB / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3519, allocations: 0 / 0.5668 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005726/0.3525, allocations: 185.3 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.3526, allocations: 51.41 kB / 0.567 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3528, allocations: 214.2 kB / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3528, allocations: 29.7 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.3529, allocations: 108.1 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3529, allocations: 23.84 kB / 0.5673 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.353, allocations: 21.72 kB / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3531, allocations: 330.8 kB / 0.5677 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.3532, allocations: 15.98 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.3532, allocations: 41.7 kB / 0.5677 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3534, allocations: 65.62 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3534, allocations: 0 / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.3535, allocations: 101.6 kB / 0.5679 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3536, allocations: 4 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3536, allocations: 0 / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3536, allocations: 4 kB / 0.5679 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3537, allocations: 23.95 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3537, allocations: 0 / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.3537, allocations: 4 kB / 0.5679 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3537, allocations: 3.938 kB / 0.5679 GB, free: 14.34 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.0001115/0.3538, allocations: 133.8 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3539, allocations: 12.09 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.3541, allocations: 122.9 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3541, allocations: 3.938 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3541, allocations: 4 kB / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3541, allocations: 0 / 0.5682 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.3546, allocations: 374.6 kB / 0.5685 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3546, allocations: 0 / 0.5685 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.3546, allocations: 8 kB / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3546, allocations: 0 / 0.5686 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3547, allocations: 4.375 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3547, allocations: 3.938 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3547, allocations: 4.078 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3549, allocations: 220.2 kB / 0.5688 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.355, allocations: 11.94 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.355, allocations: 4 kB / 0.5688 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.355, allocations: 3.938 kB / 0.5688 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3551, allocations: 7.984 kB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3551, allocations: 8 kB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3553, allocations: 160.3 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3553, allocations: 0 / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3555, allocations: 20 kB / 0.569 GB, free: 13.16 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.001716/0.3572, allocations: 463.8 kB / 0.5694 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3574, allocations: 51.92 kB / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3574, allocations: 0 / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.445e-05/0.3575, allocations: 31.92 kB / 0.5695 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3579, allocations: 19.98 kB / 0.5695 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3583, allocations: 246.8 kB / 0.5698 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.3587, allocations: 0.708 MB / 0.5705 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.3587, allocations: 13.28 kB / 0.5705 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.3588, allocations: 23.42 kB / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3588, allocations: 0 / 0.5705 GB, free: 11.72 MB / 414.1 MB Notification: Performance of Templates: time 0.00499/0.3638, allocations: 1.785 MB / 0.5722 GB, free: 9.953 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.9354368769563735]