Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008229, allocations: 91.02 kB / 16.65 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 188.4 kB / 17.57 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.719/0.719, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002545, allocations: 11.94 kB / 0.4949 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3962, allocations: 82.82 MB / 0.5758 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.001192/0.3974, allocations: 1.291 MB / 0.577 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.3984, allocations: 0.8609 MB / 0.5779 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.3984, allocations: 5.156 kB / 0.5779 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.399, allocations: 0.8979 MB / 0.5788 GB, free: 39.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.3994, allocations: 0.5099 MB / 0.5793 GB, free: 38.99 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3996, allocations: 89.83 kB / 0.5793 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.4002, allocations: 1.159 MB / 0.5805 GB, free: 38.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.4003, allocations: 8.578 kB / 0.5805 GB, free: 38.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.4007, allocations: 0.5756 MB / 0.5811 GB, free: 38.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.4013, allocations: 0.9793 MB / 0.582 GB, free: 37.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.4015, allocations: 64.34 kB / 0.5821 GB, free: 37.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.4016, allocations: 104.8 kB / 0.5822 GB, free: 37.64 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.4033, allocations: 2.495 MB / 0.5846 GB, free: 36.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.4039, allocations: 1.463 MB / 0.586 GB, free: 35.17 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.4052, allocations: 3.029 MB / 0.589 GB, free: 32.74 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4052, allocations: 0 / 0.589 GB, free: 32.74 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4053, allocations: 3.938 kB / 0.589 GB, free: 32.74 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.4053, allocations: 4 kB / 0.589 GB, free: 32.73 MB / 462.3 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.002883/0.4082, allocations: 4.585 MB / 0.5935 GB, free: 28.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.4082, allocations: 8.031 kB / 0.5935 GB, free: 28.06 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.4085, allocations: 0.5598 MB / 0.594 GB, free: 27.49 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/0.4142, allocations: 6.551 MB / 0.6004 GB, free: 20.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4142, allocations: 384 / 0.6004 GB, free: 20.86 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.4142, allocations: 4.125 kB / 0.6004 GB, free: 20.86 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4143, allocations: 53.67 kB / 0.6005 GB, free: 20.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.4143, allocations: 4 kB / 0.6005 GB, free: 20.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4144, allocations: 0 / 0.6005 GB, free: 20.79 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4144, allocations: 3.938 kB / 0.6005 GB, free: 20.79 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.4144, allocations: 19.92 kB / 0.6005 GB, free: 20.77 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.4155, allocations: 1.855 MB / 0.6023 GB, free: 18.87 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4156, allocations: 50.62 kB / 0.6024 GB, free: 18.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.4156, allocations: 28.78 kB / 0.6024 GB, free: 18.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.4157, allocations: 4 kB / 0.6024 GB, free: 18.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.4158, allocations: 63.33 kB / 0.6025 GB, free: 18.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4158, allocations: 0 / 0.6025 GB, free: 18.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0004586/0.4163, allocations: 0.6544 MB / 0.6031 GB, free: 18.03 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.4163, allocations: 55.41 kB / 0.6032 GB, free: 17.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.4206, allocations: 6.442 MB / 0.6094 GB, free: 11.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.4206, allocations: 25.7 kB / 0.6095 GB, free: 11.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.422, allocations: 2.665 MB / 0.6121 GB, free: 8.867 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.4221, allocations: 11.81 kB / 0.6121 GB, free: 8.855 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.4221, allocations: 17.7 kB / 0.6121 GB, free: 8.832 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.4221, allocations: 310 kB / 0.6124 GB, free: 8.523 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.881e-05/0.4222, allocations: 8 kB / 0.6124 GB, free: 8.516 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.4222, allocations: 37.62 kB / 0.6124 GB, free: 8.473 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.4223, allocations: 45.7 kB / 0.6125 GB, free: 8.422 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4223, allocations: 0 / 0.6125 GB, free: 8.422 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003756/0.4227, allocations: 0.6507 MB / 0.6131 GB, free: 7.758 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4227, allocations: 4 kB / 0.6131 GB, free: 7.754 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4227, allocations: 8 kB / 0.6131 GB, free: 7.746 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4227, allocations: 0 / 0.6131 GB, free: 7.746 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.4228, allocations: 11.98 kB / 0.6131 GB, free: 7.734 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.4228, allocations: 32 / 0.6131 GB, free: 7.734 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.4231, allocations: 24 kB / 0.6132 GB, free: 7.711 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4231, allocations: 0 / 0.6132 GB, free: 7.711 MB / 462.3 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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.0009421/0.4241, allocations: 1.286 MB / 0.6144 GB, free: 6.414 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.4243, allocations: 0.5902 MB / 0.615 GB, free: 5.816 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.4248, allocations: 0.6481 MB / 0.6156 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.4248, allocations: 0 / 0.6156 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4248, allocations: 0 / 0.6156 GB, free: 5.168 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4248, allocations: 3.938 kB / 0.6156 GB, free: 5.164 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.4259, allocations: 2.035 MB / 0.6176 GB, free: 3.082 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4259, allocations: 7.875 kB / 0.6176 GB, free: 3.074 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.426, allocations: 7.984 kB / 0.6176 GB, free: 3.066 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.426, allocations: 0 / 0.6176 GB, free: 3.066 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.426, allocations: 0 / 0.6176 GB, free: 3.066 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.426, allocations: 160 / 0.6176 GB, free: 3.066 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.426, allocations: 4 kB / 0.6176 GB, free: 3.062 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.4264, allocations: 0.7173 MB / 0.6183 GB, free: 2.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003812/0.4268, allocations: 0.5716 MB / 0.6189 GB, free: 1.723 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.427, allocations: 20 kB / 0.6189 GB, free: 1.703 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.4273, allocations: 16 kB / 0.6189 GB, free: 1.688 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.4273, allocations: 4 kB / 0.6189 GB, free: 1.684 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.4273, allocations: 7.984 kB / 0.6189 GB, free: 1.676 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004005/0.4313, allocations: 4.412 MB / 0.6233 GB, free: 13.3 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.864e-06/0.4313, allocations: 0 / 0.6233 GB, free: 13.3 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0004158/0.4317, allocations: 183.9 kB / 0.6234 GB, free: 13.12 MB / 478.3 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.0007881/0.4325, allocations: 409.2 kB / 0.6238 GB, free: 12.88 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.4327, allocations: 39.98 kB / 0.6239 GB, free: 12.84 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4327, allocations: 0 / 0.6239 GB, free: 12.84 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.4328, allocations: 23.88 kB / 0.6239 GB, free: 12.81 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.4338, allocations: 462.1 kB / 0.6243 GB, free: 12.36 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.4424, allocations: 9.528 MB / 0.6336 GB, free: 2.797 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.4445, allocations: 2.733 MB / 0.6363 GB, free: 36 kB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003039/0.4475, allocations: 1.418 MB / 0.6377 GB, free: 14.61 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009345/0.4484, allocations: 0.5577 MB / 0.6382 GB, free: 14.05 MB / 494.3 MB Notification: Performance of SimCode: time 2.81e-07/0.4485, allocations: 0 / 0.6382 GB, free: 14.05 MB / 494.3 MB Notification: Performance of Templates: time 0.034/0.4825, allocations: 15.22 MB / 0.6531 GB, free: 14.84 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches