Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001416/0.001416, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 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.001617/0.001617, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.469/1.469, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2313/0.2313, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41") [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.002938/0.002938, allocations: 83.88 kB / 0.4968 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3495, allocations: 65.99 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003149/0.3527, allocations: 1.745 MB / 0.563 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3545, allocations: 1.049 MB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.3546, allocations: 0 / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.3549, allocations: 83.69 kB / 0.5641 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.3552, allocations: 119.6 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3554, allocations: 75.69 kB / 0.5643 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.3556, allocations: 115.7 kB / 0.5644 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.3557, allocations: 4 kB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.3558, allocations: 67.69 kB / 0.5645 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3559, allocations: 59.8 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3559, allocations: 4 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.356, allocations: 43.98 kB / 0.5646 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.3561, allocations: 19.92 kB / 0.5646 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.736e-05/0.3562, allocations: 47.67 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.3564, allocations: 130.1 kB / 0.5648 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3564, allocations: 0 / 0.5648 GB, free: 1.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3564, allocations: 0 / 0.5648 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.3564, allocations: 0 / 0.5648 GB, free: 1.426 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.0006225/0.357, allocations: 430.6 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.357, allocations: 8.031 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.3571, allocations: 16.84 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.3574, allocations: 216.1 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3574, allocations: 4.375 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.3574, allocations: 4.375 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3576, allocations: 57.98 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3576, allocations: 3.938 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3576, allocations: 0 / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.3576, allocations: 7.984 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.3577, allocations: 15.98 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.3581, allocations: 292.9 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3583, allocations: 58.61 kB / 0.5658 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.926e-05/0.3584, allocations: 20.84 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.3584, allocations: 4 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.3585, allocations: 63.39 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3585, allocations: 4 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.3591, allocations: 185.3 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3592, allocations: 55.41 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3594, allocations: 223.4 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3594, allocations: 29.7 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3595, allocations: 100.1 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3595, allocations: 31.72 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.3596, allocations: 29.66 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3597, allocations: 334.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.3598, allocations: 16 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.3599, allocations: 41.64 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.36, allocations: 57.69 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.36, allocations: 0 / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/0.3602, allocations: 109.5 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3602, allocations: 4 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3602, allocations: 384 / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3602, allocations: 7.984 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.3603, allocations: 12 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3603, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.3604, allocations: 8 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3604, allocations: 4 kB / 0.5671 GB, free: 14.78 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.0001114/0.3605, allocations: 129.8 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3605, allocations: 23.88 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3608, allocations: 115.2 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3608, allocations: 4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3608, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3608, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.3613, allocations: 399.2 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3613, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.3614, allocations: 8 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3614, allocations: 8.031 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3614, allocations: 3.984 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3614, allocations: 3.938 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3614, allocations: 0 / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3616, allocations: 212.2 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.3617, allocations: 81.06 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3617, allocations: 8 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.3618, allocations: 11.92 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.3618, allocations: 4 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3618, allocations: 4 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.362, allocations: 177.1 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3623, allocations: 28.08 kB / 0.5683 GB, free: 13.47 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.001674/0.3639, allocations: 457.2 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.3641, allocations: 55.91 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3641, allocations: 0 / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.3642, allocations: 27.92 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3645, allocations: 42.41 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005249/0.3651, allocations: 267.2 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.3654, allocations: 0.7119 MB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.3655, allocations: 24.86 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.3655, allocations: 19.44 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3655, allocations: 0 / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of Templates: time 0.005169/0.3707, allocations: 1.766 MB / 0.5715 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.971733400132507]