Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.00128/0.001281, allocations: 102.6 kB / 16.92 MB, free: 6.184 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.00135/0.00135, allocations: 191.3 kB / 17.85 MB, free: 5.32 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.315/1.315, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9316/0.9316, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001832, allocations: 67.89 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5069, allocations: 80.68 MB / 0.5697 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.00286/0.5098, allocations: 1.582 MB / 0.5713 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.5111, allocations: 0.893 MB / 0.5721 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/0.5112, allocations: 1.562 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.5122, allocations: 0.8983 MB / 0.573 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.5129, allocations: 0.5164 MB / 0.5735 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.5133, allocations: 98.19 kB / 0.5736 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009925/0.5143, allocations: 1.168 MB / 0.5748 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.5143, allocations: 12.14 kB / 0.5748 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.515, allocations: 0.5766 MB / 0.5753 GB, free: 39.81 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009458/0.5159, allocations: 1.045 MB / 0.5764 GB, free: 39.41 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.5161, allocations: 66.12 kB / 0.5764 GB, free: 39.41 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.5164, allocations: 98.02 kB / 0.5765 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.5189, allocations: 2.503 MB / 0.579 GB, free: 38.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008908/0.5198, allocations: 1.433 MB / 0.5804 GB, free: 36.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.5221, allocations: 3.114 MB / 0.5834 GB, free: 34.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5221, allocations: 0 / 0.5834 GB, free: 34.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5221, allocations: 0 / 0.5834 GB, free: 34.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.354e-05/0.5222, allocations: 5.438 kB / 0.5834 GB, free: 34.96 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.005178/0.5274, allocations: 5.182 MB / 0.5885 GB, free: 30.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5274, allocations: 11.89 kB / 0.5885 GB, free: 30.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004147/0.5279, allocations: 0.556 MB / 0.589 GB, free: 29.81 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/0.5348, allocations: 6.555 MB / 0.5954 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5348, allocations: 384 / 0.5954 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.5348, allocations: 4.125 kB / 0.5954 GB, free: 23.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.535, allocations: 49.67 kB / 0.5955 GB, free: 23.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.535, allocations: 0 / 0.5955 GB, free: 23.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.535, allocations: 0 / 0.5955 GB, free: 23.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.535, allocations: 3.938 kB / 0.5955 GB, free: 23.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.268e-05/0.5351, allocations: 15.98 kB / 0.5955 GB, free: 23.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.5365, allocations: 1.863 MB / 0.5973 GB, free: 21.19 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.5366, allocations: 54.56 kB / 0.5974 GB, free: 21.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.5367, allocations: 24.78 kB / 0.5974 GB, free: 21.1 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.5367, allocations: 4 kB / 0.5974 GB, free: 21.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.5369, allocations: 63.39 kB / 0.5975 GB, free: 21.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.5369, allocations: 0 / 0.5975 GB, free: 21.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.000593/0.5375, allocations: 0.666 MB / 0.5981 GB, free: 20.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.5375, allocations: 51.41 kB / 0.5982 GB, free: 20.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005344/0.5429, allocations: 6.439 MB / 0.6044 GB, free: 13.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5429, allocations: 25.7 kB / 0.6045 GB, free: 13.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.5446, allocations: 2.668 MB / 0.6071 GB, free: 11.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.5447, allocations: 11.91 kB / 0.6071 GB, free: 11.17 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.5447, allocations: 25.61 kB / 0.6071 GB, free: 11.14 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.5448, allocations: 310 kB / 0.6074 GB, free: 10.83 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.906e-05/0.5448, allocations: 12 kB / 0.6074 GB, free: 10.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.5449, allocations: 29.7 kB / 0.6074 GB, free: 10.78 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.308e-05/0.545, allocations: 45.64 kB / 0.6075 GB, free: 10.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.545, allocations: 0 / 0.6075 GB, free: 10.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000595/0.5456, allocations: 0.6426 MB / 0.6081 GB, free: 10.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5456, allocations: 8.031 kB / 0.6081 GB, free: 10.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5456, allocations: 0 / 0.6081 GB, free: 10.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5457, allocations: 4 kB / 0.6081 GB, free: 10.06 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.5457, allocations: 19.92 kB / 0.6081 GB, free: 10.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5458, allocations: 0 / 0.6081 GB, free: 10.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.5461, allocations: 20 kB / 0.6082 GB, free: 10.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.5462, allocations: 0 / 0.6082 GB, free: 10.02 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.001293/0.5475, allocations: 1.282 MB / 0.6094 GB, free: 8.73 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.5479, allocations: 0.5863 MB / 0.61 GB, free: 8.137 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.5484, allocations: 0.6559 MB / 0.6106 GB, free: 7.48 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5484, allocations: 0 / 0.6106 GB, free: 7.48 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5484, allocations: 3.938 kB / 0.6106 GB, free: 7.477 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5484, allocations: 0 / 0.6106 GB, free: 7.477 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5497, allocations: 2.031 MB / 0.6126 GB, free: 5.398 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5497, allocations: 7.922 kB / 0.6126 GB, free: 5.391 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.5497, allocations: 4 kB / 0.6126 GB, free: 5.387 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5497, allocations: 0 / 0.6126 GB, free: 5.387 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.5497, allocations: 320 / 0.6126 GB, free: 5.387 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5498, allocations: 4 kB / 0.6126 GB, free: 5.383 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5498, allocations: 0 / 0.6126 GB, free: 5.383 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.5503, allocations: 0.729 MB / 0.6133 GB, free: 4.629 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.5507, allocations: 0.5131 MB / 0.6138 GB, free: 4.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.5509, allocations: 19.98 kB / 0.6139 GB, free: 4.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.5512, allocations: 16 kB / 0.6139 GB, free: 4.055 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5512, allocations: 11.98 kB / 0.6139 GB, free: 4.043 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5513, allocations: 0 / 0.6139 GB, free: 4.043 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004329/0.5556, allocations: 4.416 MB / 0.6182 GB, free: 15.67 MB / 478.3 MB Notification: Performance of sort global known variables: time 2e-07/0.5556, allocations: 4 kB / 0.6182 GB, free: 15.66 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005307/0.5561, allocations: 176 kB / 0.6184 GB, free: 15.49 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.000939/0.5571, allocations: 417.2 kB / 0.6188 GB, free: 15.24 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.5573, allocations: 47.91 kB / 0.6188 GB, free: 15.19 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5573, allocations: 0 / 0.6188 GB, free: 15.19 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.5573, allocations: 19.94 kB / 0.6188 GB, free: 15.17 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5586, allocations: 466.8 kB / 0.6193 GB, free: 14.71 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.569, allocations: 8.541 MB / 0.6276 GB, free: 6.141 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.5713, allocations: 2.733 MB / 0.6303 GB, free: 3.383 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003331/0.5746, allocations: 1.379 MB / 0.6316 GB, free: 1.996 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.5757, allocations: 0.5694 MB / 0.6322 GB, free: 1.426 MB / 478.3 MB Notification: Performance of SimCode: time 1.253e-06/0.5757, allocations: 0 / 0.6322 GB, free: 1.426 MB / 478.3 MB Notification: Performance of Templates: time 0.04145/0.6171, allocations: 15.62 MB / 0.6474 GB, free: 1.801 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches