Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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.006013/0.006013, allocations: 111.2 kB / 21.98 MB, free: 5.184 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.001485/0.001485, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.434/1.434, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2356/0.2356, allocations: 46.92 MB / 362.3 MB, free: 4.203 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37") [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.002389/0.002389, allocations: 83.84 kB / 0.4983 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3542, allocations: 66.07 MB / 0.5628 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003208/0.3574, allocations: 1.698 MB / 0.5644 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3592, allocations: 1.032 MB / 0.5655 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.3593, allocations: 4 kB / 0.5655 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3596, allocations: 67.72 kB / 0.5655 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3599, allocations: 103.6 kB / 0.5656 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3601, allocations: 71.69 kB / 0.5657 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3603, allocations: 107.7 kB / 0.5658 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.3604, allocations: 8.234 kB / 0.5658 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3605, allocations: 59.7 kB / 0.5659 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3606, allocations: 47.77 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3606, allocations: 4 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3607, allocations: 27.98 kB / 0.5659 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.3608, allocations: 23.91 kB / 0.566 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.3608, allocations: 27.81 kB / 0.566 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3611, allocations: 113.9 kB / 0.5661 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3611, allocations: 0 / 0.5661 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3611, allocations: 3.938 kB / 0.5661 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3611, allocations: 4 kB / 0.5661 GB, free: 0.8203 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.0005861/0.3617, allocations: 337.6 kB / 0.5664 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3617, allocations: 8.031 kB / 0.5664 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3618, allocations: 12.84 kB / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.3621, allocations: 155 kB / 0.5666 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3621, allocations: 384 / 0.5666 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3621, allocations: 4.375 kB / 0.5666 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3623, allocations: 49.98 kB / 0.5666 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3623, allocations: 7.938 kB / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3623, allocations: 0 / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3623, allocations: 0 / 0.5666 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.3624, allocations: 16 kB / 0.5667 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.3626, allocations: 156.7 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3628, allocations: 50.61 kB / 0.5669 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.3628, allocations: 24.84 kB / 0.5669 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3629, allocations: 0 / 0.5669 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.363, allocations: 75.27 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.363, allocations: 0 / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002985/0.3633, allocations: 93.62 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3634, allocations: 51.41 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3636, allocations: 198.3 kB / 0.5673 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.3636, allocations: 37.64 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3637, allocations: 104.1 kB / 0.5674 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3637, allocations: 11.91 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3638, allocations: 25.7 kB / 0.5675 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3639, allocations: 318.8 kB / 0.5678 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.364, allocations: 15.94 kB / 0.5678 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.364, allocations: 29.7 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.3641, allocations: 45.7 kB / 0.5678 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3641, allocations: 0 / 0.5678 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.3643, allocations: 89.47 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3643, allocations: 4 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3643, allocations: 0 / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3643, allocations: 4 kB / 0.5679 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.3644, allocations: 8 kB / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3644, allocations: 160 / 0.5679 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.3645, allocations: 19.95 kB / 0.568 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3645, allocations: 0 / 0.568 GB, free: 14.71 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.0001124/0.3646, allocations: 121.8 kB / 0.5681 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3646, allocations: 15.89 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.3648, allocations: 94.73 kB / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3648, allocations: 0 / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3648, allocations: 384 / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3648, allocations: 0 / 0.5682 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.365, allocations: 160.7 kB / 0.5683 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.365, allocations: 4 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.365, allocations: 11.92 kB / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.365, allocations: 0 / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.365, allocations: 0 / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.365, allocations: 4 kB / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.365, allocations: 0 / 0.5684 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3652, allocations: 109 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.3652, allocations: 15.89 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3653, allocations: 0 / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.3653, allocations: 4 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3653, allocations: 7.984 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3654, allocations: 4 kB / 0.5685 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3655, allocations: 152.2 kB / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3655, allocations: 0 / 0.5686 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3657, allocations: 15.94 kB / 0.5687 GB, free: 13.92 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 (5): * Single equations (assignments): 3 * 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.001472/0.3672, allocations: 408.3 kB / 0.569 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.3674, allocations: 43.92 kB / 0.5691 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3674, allocations: 0 / 0.5691 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.3674, allocations: 19.98 kB / 0.5691 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3677, allocations: 27.34 kB / 0.5691 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.3682, allocations: 239.6 kB / 0.5694 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3685, allocations: 0.7041 MB / 0.57 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.3686, allocations: 19.44 kB / 0.5701 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3686, allocations: 3.938 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.004005/0.3726, allocations: 1.732 MB / 0.5718 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test37.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: 7.819425745168701]