Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 115 kB / 16.63 MB, free: 6.812 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.000995/0.0009954, allocations: 190 kB / 17.55 MB, free: 5.93 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.355/1.355, allocations: 222.9 MB / 241.2 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.075/1.075, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6502, allocations: 80.68 MB / 0.5692 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002787/0.653, allocations: 1.632 MB / 0.5708 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.6543, allocations: 0.8855 MB / 0.5717 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.6543, allocations: 3.938 kB / 0.5717 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.6558, allocations: 1.746 MB / 0.5734 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0009911/0.6568, allocations: 0.943 MB / 0.5743 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.6571, allocations: 91.38 kB / 0.5744 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.6589, allocations: 2.224 MB / 0.5766 GB, free: 38.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.983e-05/0.659, allocations: 12.56 kB / 0.5766 GB, free: 38.94 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.6603, allocations: 1.105 MB / 0.5777 GB, free: 38.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.6625, allocations: 2.056 MB / 0.5797 GB, free: 37.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.6628, allocations: 131.8 kB / 0.5798 GB, free: 37.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004028/0.6632, allocations: 157 kB / 0.58 GB, free: 37.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.667, allocations: 4.996 MB / 0.5848 GB, free: 33.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.6689, allocations: 2.831 MB / 0.5876 GB, free: 31.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.6724, allocations: 6.128 MB / 0.5936 GB, free: 24.86 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.6724, allocations: 0 / 0.5936 GB, free: 24.86 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6724, allocations: 3.938 kB / 0.5936 GB, free: 24.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001048/0.6725, allocations: 0 / 0.5936 GB, free: 24.85 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.009357/0.6819, allocations: 9.976 MB / 0.6033 GB, free: 14.74 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.682, allocations: 19.88 kB / 0.6033 GB, free: 14.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.6831, allocations: 1.111 MB / 0.6044 GB, free: 13.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.6995, allocations: 12.97 MB / 0.6171 GB, free: 0.5078 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6996, allocations: 384 / 0.6171 GB, free: 0.5078 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.6996, allocations: 8.125 kB / 0.6171 GB, free: 0.5 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.6998, allocations: 49.67 kB / 0.6171 GB, free: 456 kB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6998, allocations: 0 / 0.6171 GB, free: 456 kB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.6998, allocations: 4 kB / 0.6172 GB, free: 452 kB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6998, allocations: 0 / 0.6172 GB, free: 452 kB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.6999, allocations: 15.98 kB / 0.6172 GB, free: 436 kB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.7045, allocations: 3.553 MB / 0.6206 GB, free: 12.83 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.7047, allocations: 62.55 kB / 0.6207 GB, free: 12.76 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.7047, allocations: 20.8 kB / 0.6207 GB, free: 12.73 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.7048, allocations: 0 / 0.6207 GB, free: 12.73 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.7051, allocations: 63.39 kB / 0.6208 GB, free: 12.66 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.7051, allocations: 0 / 0.6208 GB, free: 12.66 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.001874/0.707, allocations: 1.225 MB / 0.622 GB, free: 11.41 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.707, allocations: 55.41 kB / 0.622 GB, free: 11.35 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01763/0.7246, allocations: 12.74 MB / 0.6345 GB, free: 14.7 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.7247, allocations: 29.7 kB / 0.6345 GB, free: 14.67 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004941/0.7297, allocations: 5.478 MB / 0.6398 GB, free: 9.188 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.7298, allocations: 11.89 kB / 0.6399 GB, free: 9.176 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.7298, allocations: 25.62 kB / 0.6399 GB, free: 9.145 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.73, allocations: 314 kB / 0.6402 GB, free: 8.832 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.7301, allocations: 12 kB / 0.6402 GB, free: 8.82 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.7301, allocations: 29.7 kB / 0.6402 GB, free: 8.785 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.7302, allocations: 49.89 kB / 0.6403 GB, free: 8.73 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7303, allocations: 3.938 kB / 0.6403 GB, free: 8.727 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002073/0.7323, allocations: 1.21 MB / 0.6415 GB, free: 7.496 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.7324, allocations: 8 kB / 0.6415 GB, free: 7.488 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7324, allocations: 0 / 0.6415 GB, free: 7.488 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7324, allocations: 0 / 0.6415 GB, free: 7.488 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.7325, allocations: 15.92 kB / 0.6415 GB, free: 7.473 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7325, allocations: 0 / 0.6415 GB, free: 7.473 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.7336, allocations: 40 kB / 0.6415 GB, free: 7.434 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7336, allocations: 0 / 0.6415 GB, free: 7.434 MB / 494.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.00334/0.737, allocations: 2.446 MB / 0.6439 GB, free: 4.977 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/0.7381, allocations: 1.169 MB / 0.645 GB, free: 3.793 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.7398, allocations: 1.292 MB / 0.6463 GB, free: 2.496 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.7398, allocations: 7.938 kB / 0.6463 GB, free: 2.488 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7398, allocations: 0 / 0.6463 GB, free: 2.488 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7399, allocations: 0 / 0.6463 GB, free: 2.488 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.7442, allocations: 3.893 MB / 0.6501 GB, free: 14.55 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.7442, allocations: 0 / 0.6501 GB, free: 14.55 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.7443, allocations: 4 kB / 0.6501 GB, free: 14.55 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.7443, allocations: 0 / 0.6501 GB, free: 14.55 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.7443, allocations: 0 / 0.6501 GB, free: 14.55 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.7443, allocations: 4 kB / 0.6501 GB, free: 14.54 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7443, allocations: 0 / 0.6501 GB, free: 14.54 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.746, allocations: 1.344 MB / 0.6514 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.7473, allocations: 0.9395 MB / 0.6524 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004472/0.7478, allocations: 36 kB / 0.6524 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/0.7483, allocations: 36 kB / 0.6524 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.7484, allocations: 0 / 0.6524 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.7484, allocations: 7.984 kB / 0.6524 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01203/0.7604, allocations: 8.763 MB / 0.661 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7605, allocations: 0 / 0.661 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001514/0.762, allocations: 332 kB / 0.6613 GB, free: 3.102 MB / 0.4983 GB 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.0009492/0.763, allocations: 407.2 kB / 0.6617 GB, free: 2.855 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.7632, allocations: 55.91 kB / 0.6617 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7632, allocations: 0 / 0.6617 GB, free: 2.801 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.7633, allocations: 20.06 kB / 0.6618 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.7656, allocations: 0.8694 MB / 0.6626 GB, free: 1.91 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.7897, allocations: 19.26 MB / 0.6814 GB, free: 14.62 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/0.794, allocations: 4.797 MB / 0.6861 GB, free: 9.793 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.006942/0.801, allocations: 2.828 MB / 0.6889 GB, free: 6.953 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/0.8031, allocations: 1.124 MB / 0.69 GB, free: 5.828 MB / 0.5295 GB Notification: Performance of SimCode: time 1.412e-06/0.8031, allocations: 0 / 0.69 GB, free: 5.828 MB / 0.5295 GB Notification: Performance of Templates: time 0.08202/0.8852, allocations: 30.45 MB / 0.7197 GB, free: 7.375 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches