Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.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.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") translateModel(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|der.x.6..|der.x.7..|der.x.8..|der.x.9..|time|time|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.|x.6.|x.7.|x.8.|x.9.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.001746/0.001747, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.332/1.332, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8778/0.8778, allocations: 119.3 MB / 411.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.09 kB / 0.4909 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4685, allocations: 80.68 MB / 0.5697 GB, free: 43.66 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002034/0.4706, allocations: 1.234 MB / 0.5709 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.4707, allocations: 28.98 kB / 0.5709 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.4708, allocations: 0 / 0.5709 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.4709, allocations: 1.375 kB / 0.5709 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.4709, allocations: 7.938 kB / 0.5709 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.471, allocations: 6.484 kB / 0.5709 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.802e-05/0.4711, allocations: 55.22 kB / 0.571 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.4712, allocations: 5.094 kB / 0.571 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.4712, allocations: 27.66 kB / 0.571 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.4713, allocations: 20.69 kB / 0.571 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4713, allocations: 2.719 kB / 0.571 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.4713, allocations: 2.438 kB / 0.571 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.4714, allocations: 19.55 kB / 0.5711 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.4714, allocations: 15.66 kB / 0.5711 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.499e-05/0.4715, allocations: 24.98 kB / 0.5711 GB, free: 42.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4715, allocations: 0 / 0.5711 GB, free: 42.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4715, allocations: 0 / 0.5711 GB, free: 42.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.4715, allocations: 4 kB / 0.5711 GB, free: 42.57 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004709/0.472, allocations: 383.6 kB / 0.5715 GB, free: 42.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.472, allocations: 10.12 kB / 0.5715 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.472, allocations: 4.031 kB / 0.5715 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4722, allocations: 179.1 kB / 0.5717 GB, free: 41.97 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.4722, allocations: 6.594 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.4722, allocations: 12.53 kB / 0.5717 GB, free: 41.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4724, allocations: 78.33 kB / 0.5717 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4724, allocations: 192 / 0.5717 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4724, allocations: 5.188 kB / 0.5718 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4724, allocations: 1.25 kB / 0.5718 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.404e-05/0.4725, allocations: 37.12 kB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.4729, allocations: 316.7 kB / 0.5721 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4731, allocations: 130.6 kB / 0.5722 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.4732, allocations: 43.27 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.4732, allocations: 1.156 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.4732, allocations: 31.94 kB / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.4732, allocations: 0 / 0.5723 GB, free: 41.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002668/0.4735, allocations: 143.3 kB / 0.5724 GB, free: 41.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4735, allocations: 55.34 kB / 0.5725 GB, free: 41.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.371e-05/0.4736, allocations: 107.2 kB / 0.5726 GB, free: 41.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.4736, allocations: 27.08 kB / 0.5726 GB, free: 41.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.906e-05/0.4736, allocations: 93.48 kB / 0.5727 GB, free: 41.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4736, allocations: 40.86 kB / 0.5727 GB, free: 41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.4737, allocations: 39.56 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.4737, allocations: 325.5 kB / 0.5731 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.4738, allocations: 64.89 kB / 0.5731 GB, free: 40.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.4739, allocations: 80.36 kB / 0.5732 GB, free: 40.57 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4741, allocations: 149.3 kB / 0.5734 GB, free: 40.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4741, allocations: 0 / 0.5734 GB, free: 40.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002348/0.4743, allocations: 192.7 kB / 0.5735 GB, free: 40.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4744, allocations: 6.031 kB / 0.5736 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.4744, allocations: 0 / 0.5736 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4744, allocations: 1.531 kB / 0.5736 GB, free: 40.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4746, allocations: 51.2 kB / 0.5736 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4746, allocations: 5.516 kB / 0.5736 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.4747, allocations: 19.97 kB / 0.5736 GB, free: 40.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4747, allocations: 4.906 kB / 0.5736 GB, free: 40.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.698e-05/0.4747, allocations: 122.5 kB / 0.5737 GB, free: 40.24 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.4748, allocations: 6.188 kB / 0.5738 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.4748, allocations: 13.34 kB / 0.5738 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4748, allocations: 1.375 kB / 0.5738 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4748, allocations: 0 / 0.5738 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4748, allocations: 3.938 kB / 0.5738 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.475, allocations: 194.6 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4751, allocations: 5.047 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.4753, allocations: 49.36 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4753, allocations: 1.5 kB / 0.574 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4754, allocations: 7.203 kB / 0.574 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4754, allocations: 5.75 kB / 0.574 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4754, allocations: 0 / 0.574 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4756, allocations: 256.2 kB / 0.5743 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.4756, allocations: 83.73 kB / 0.5743 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.4757, allocations: 11.05 kB / 0.5744 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.4757, allocations: 2.469 kB / 0.5744 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.4758, allocations: 7.766 kB / 0.5744 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4758, allocations: 5.281 kB / 0.5744 GB, free: 39.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.262e-05/0.4758, allocations: 83.19 kB / 0.5745 GB, free: 39.59 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4758, allocations: 3.938 kB / 0.5745 GB, free: 39.59 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002359/0.4761, allocations: 22.59 kB / 0.5745 GB, free: 39.59 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 7.345e-05/0.4761, allocations: 110 kB / 0.5746 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4763, allocations: 128 kB / 0.5747 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4763, allocations: 0 / 0.5747 GB, free: 39.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.4764, allocations: 42.36 kB / 0.5747 GB, free: 39.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.4766, allocations: 6.812 kB / 0.5748 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.4771, allocations: 369 kB / 0.5751 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.4772, allocations: 0.7023 MB / 0.5758 GB, free: 38.41 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.4772, allocations: 13.78 kB / 0.5758 GB, free: 38.4 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4772, allocations: 0 / 0.5758 GB, free: 38.4 MB / 462.3 MB Notification: Performance of Templates: time 0.002341/0.4796, allocations: 1.181 MB / 0.577 GB, free: 37.8 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches