Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 110 kB / 17.68 MB, free: 5.332 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.001451/0.001451, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.284/1.284, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8508/0.8508, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4418, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002391/0.4442, allocations: 1.578 MB / 0.5727 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4453, allocations: 0.8856 MB / 0.5736 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.4454, allocations: 1.5 kB / 0.5736 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.449, allocations: 6.877 MB / 0.5803 GB, free: 38.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.4511, allocations: 3.512 MB / 0.5837 GB, free: 36.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.4515, allocations: 109.4 kB / 0.5838 GB, free: 36.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004933/0.4564, allocations: 8.589 MB / 0.5922 GB, free: 27.96 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4565, allocations: 11.98 kB / 0.5922 GB, free: 27.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.4604, allocations: 4.27 MB / 0.5964 GB, free: 23.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005519/0.4659, allocations: 8.088 MB / 0.6043 GB, free: 15.57 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001282/0.4672, allocations: 500 kB / 0.6048 GB, free: 15.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008963/0.4681, allocations: 0.5156 MB / 0.6053 GB, free: 14.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01585/0.484, allocations: 19.92 MB / 0.6247 GB, free: 10.59 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01465/0.4986, allocations: 11.26 MB / 0.6357 GB, free: 15.21 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02349/0.5222, allocations: 24.75 MB / 0.6599 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5222, allocations: 0 / 0.6599 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5222, allocations: 0 / 0.6599 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0006471/0.5229, allocations: 0 / 0.6599 GB, free: 6.332 MB / 0.4983 GB 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.05142/0.5743, allocations: 38.75 MB / 0.6977 GB, free: 15.18 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5744, allocations: 19.89 kB / 0.6977 GB, free: 15.16 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/0.5805, allocations: 4.407 MB / 0.7021 GB, free: 10.69 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1116/0.6921, allocations: 51.6 MB / 0.7524 GB, free: 6.746 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.6922, allocations: 384 / 0.7524 GB, free: 6.746 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.6922, allocations: 4.125 kB / 0.7524 GB, free: 6.742 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6924, allocations: 53.61 kB / 0.7525 GB, free: 6.684 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6924, allocations: 0 / 0.7525 GB, free: 6.684 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6924, allocations: 0 / 0.7525 GB, free: 6.684 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6924, allocations: 0 / 0.7525 GB, free: 6.684 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/0.6925, allocations: 23.98 kB / 0.7525 GB, free: 6.66 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4355/1.128, allocations: 13.74 MB / 0.7659 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/1.128, allocations: 52.55 kB / 0.766 GB, free: 136.8 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/1.128, allocations: 23.12 kB / 0.766 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/1.128, allocations: 1.562 kB / 0.766 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/1.129, allocations: 68.48 kB / 0.7661 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 3.226e-06/1.129, allocations: 0 / 0.7661 GB, free: 136.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01013/1.139, allocations: 4.604 MB / 0.7706 GB, free: 136.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/1.139, allocations: 53.84 kB / 0.7706 GB, free: 136.6 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07309/1.212, allocations: 50.58 MB / 0.82 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.212, allocations: 29.7 kB / 0.82 GB, free: 108.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01802/1.23, allocations: 23.57 MB / 0.8431 GB, free: 84.92 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/1.23, allocations: 17.16 kB / 0.8431 GB, free: 84.91 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/1.23, allocations: 24.67 kB / 0.8431 GB, free: 84.88 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/1.23, allocations: 306 kB / 0.8434 GB, free: 84.58 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/1.23, allocations: 13.69 kB / 0.8434 GB, free: 84.57 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/1.23, allocations: 29.7 kB / 0.8434 GB, free: 84.53 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/1.231, allocations: 48.64 kB / 0.8435 GB, free: 84.48 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.231, allocations: 2.25 kB / 0.8435 GB, free: 84.48 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005935/1.236, allocations: 4.592 MB / 0.848 GB, free: 82.33 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.237, allocations: 4 kB / 0.848 GB, free: 82.32 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.237, allocations: 0 / 0.848 GB, free: 82.32 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.237, allocations: 4 kB / 0.848 GB, free: 82.32 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/1.237, allocations: 22.92 kB / 0.848 GB, free: 82.3 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.237, allocations: 3.938 kB / 0.848 GB, free: 82.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007277/1.244, allocations: 128 kB / 0.8481 GB, free: 82.17 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.244, allocations: 3.281 kB / 0.8481 GB, free: 82.17 MB / 0.5923 GB 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.0116/1.256, allocations: 9.395 MB / 0.8573 GB, free: 72.76 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008591/1.264, allocations: 4.648 MB / 0.8618 GB, free: 68.05 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.275, allocations: 5.125 MB / 0.8668 GB, free: 62.92 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.275, allocations: 0 / 0.8668 GB, free: 62.92 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.275, allocations: 3.938 kB / 0.8668 GB, free: 62.92 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.275, allocations: 0 / 0.8668 GB, free: 62.92 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/1.304, allocations: 15.08 MB / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.304, allocations: 0 / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/1.304, allocations: 7.375 kB / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.304, allocations: 0 / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.304, allocations: 3.984 kB / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.305, allocations: 3 kB / 0.8816 GB, free: 47.77 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.305, allocations: 3.938 kB / 0.8816 GB, free: 47.76 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006472/1.311, allocations: 5.036 MB / 0.8865 GB, free: 42.65 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008233/1.319, allocations: 3.509 MB / 0.8899 GB, free: 39.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004223/1.324, allocations: 124 kB / 0.8901 GB, free: 38.95 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005188/1.329, allocations: 135 kB / 0.8902 GB, free: 38.82 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/1.329, allocations: 3.938 kB / 0.8902 GB, free: 38.81 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.329, allocations: 4 kB / 0.8902 GB, free: 38.81 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05184/1.381, allocations: 35.01 MB / 0.9244 GB, free: 4.105 MB / 0.5923 GB Notification: Performance of sort global known variables: time 5.51e-07/1.381, allocations: 0 / 0.9244 GB, free: 4.105 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.005937/1.387, allocations: 1.242 MB / 0.9256 GB, free: 2.863 MB / 0.5923 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.0009611/1.388, allocations: 422.5 kB / 0.926 GB, free: 2.645 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002268/1.388, allocations: 43.91 kB / 0.926 GB, free: 2.602 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.388, allocations: 0 / 0.926 GB, free: 2.602 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/1.388, allocations: 20 kB / 0.9261 GB, free: 2.582 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01693/1.405, allocations: 3.403 MB / 0.9294 GB, free: 15.18 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/1.509, allocations: 70.61 MB / 0.9983 GB, free: 8.988 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02858/1.538, allocations: 17.34 MB / 1.015 GB, free: 7.594 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.2627/1.8, allocations: 11.3 MB / 1.026 GB, free: 204.1 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009566/1.81, allocations: 4.404 MB / 1.031 GB, free: 203.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.192e-06/1.81, allocations: 1.594 kB / 1.031 GB, free: 203.4 MB / 0.686 GB Notification: Performance of Templates: time 0.3028/2.113, allocations: 123.3 MB / 1.151 GB, free: 118.4 MB / 0.686 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches