Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001037/0.001038, allocations: 109.1 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.0009852/0.0009852, 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.27/1.27, 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.8706/0.8706, allocations: 119.3 MB / 411.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4702, allocations: 80.68 MB / 0.5697 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001951/0.4722, allocations: 1.244 MB / 0.5709 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000132/0.4724, allocations: 22.48 kB / 0.5709 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.4724, allocations: 3.938 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.502e-05/0.4725, allocations: 0 / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.4725, allocations: 1.156 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.4726, allocations: 6.172 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.4727, allocations: 58.5 kB / 0.571 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.4728, allocations: 2.094 kB / 0.571 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.676e-05/0.4728, allocations: 27.95 kB / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.4729, allocations: 24.05 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4729, allocations: 2.531 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.4729, allocations: 3.938 kB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.473, allocations: 18.83 kB / 0.5711 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.473, allocations: 15.53 kB / 0.5711 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.258e-05/0.4731, allocations: 28 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4731, allocations: 0 / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.51e-07/0.4731, allocations: 1.094 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.4731, allocations: 0 / 0.5711 GB, free: 42.38 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.0004093/0.4735, allocations: 381.9 kB / 0.5715 GB, free: 41.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4735, allocations: 9.438 kB / 0.5715 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.4736, allocations: 4.094 kB / 0.5715 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.4737, allocations: 179.2 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.4737, allocations: 7.812 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4737, allocations: 8.406 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4739, allocations: 81.8 kB / 0.5717 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4739, allocations: 192 / 0.5717 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4739, allocations: 9.656 kB / 0.5718 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4739, allocations: 1.188 kB / 0.5718 GB, free: 41.71 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.474, allocations: 36.94 kB / 0.5718 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.4744, allocations: 317 kB / 0.5721 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.4745, allocations: 122 kB / 0.5722 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.4746, allocations: 47.3 kB / 0.5723 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4746, allocations: 5.344 kB / 0.5723 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.4746, allocations: 32 kB / 0.5723 GB, free: 41.23 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.4747, allocations: 0 / 0.5723 GB, free: 41.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.000259/0.4749, allocations: 138 kB / 0.5724 GB, free: 41.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.4749, allocations: 52.88 kB / 0.5725 GB, free: 41.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.475, allocations: 104.1 kB / 0.5726 GB, free: 40.99 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.475, allocations: 25.7 kB / 0.5726 GB, free: 40.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.475, allocations: 89.67 kB / 0.5727 GB, free: 40.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4751, allocations: 44.39 kB / 0.5727 GB, free: 40.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.4751, allocations: 40.47 kB / 0.5728 GB, free: 40.8 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.4752, allocations: 325.6 kB / 0.5731 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.4753, allocations: 61.36 kB / 0.5731 GB, free: 40.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.4754, allocations: 80.17 kB / 0.5732 GB, free: 40.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4755, allocations: 149.3 kB / 0.5734 GB, free: 40.32 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4755, allocations: 0 / 0.5734 GB, free: 40.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000229/0.4758, allocations: 189.2 kB / 0.5735 GB, free: 40.22 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4758, allocations: 9.188 kB / 0.5735 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4758, allocations: 192 / 0.5735 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4758, allocations: 2.188 kB / 0.5735 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.476, allocations: 51.69 kB / 0.5736 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.476, allocations: 0 / 0.5736 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.4761, allocations: 20.55 kB / 0.5736 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4761, allocations: 7.781 kB / 0.5736 GB, free: 40.19 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.615e-05/0.4761, allocations: 131.4 kB / 0.5737 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.4762, allocations: 6.875 kB / 0.5738 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.4762, allocations: 13.34 kB / 0.5738 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4762, allocations: 1.312 kB / 0.5738 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4762, allocations: 0 / 0.5738 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4762, allocations: 3.938 kB / 0.5738 GB, free: 40.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.4765, allocations: 202.8 kB / 0.574 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4765, allocations: 384 / 0.574 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.4767, allocations: 54.84 kB / 0.574 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4767, allocations: 0 / 0.574 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4768, allocations: 3.5 kB / 0.574 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4768, allocations: 5.312 kB / 0.574 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4768, allocations: 0 / 0.574 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.477, allocations: 260.5 kB / 0.5743 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.477, allocations: 79.98 kB / 0.5743 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.4771, allocations: 6.641 kB / 0.5744 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.4771, allocations: 10.94 kB / 0.5744 GB, free: 39.49 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.4772, allocations: 6.703 kB / 0.5744 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.4772, allocations: 6.656 kB / 0.5744 GB, free: 39.48 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.4772, allocations: 83.55 kB / 0.5745 GB, free: 39.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4772, allocations: 0 / 0.5745 GB, free: 39.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002321/0.4774, allocations: 21.69 kB / 0.5745 GB, free: 39.4 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 6.928e-05/0.4775, allocations: 98.84 kB / 0.5746 GB, free: 39.31 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.4777, allocations: 128.9 kB / 0.5747 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4777, allocations: 0 / 0.5747 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.4778, allocations: 42.17 kB / 0.5747 GB, free: 39.24 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.478, allocations: 5.562 kB / 0.5747 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.4784, allocations: 369.6 kB / 0.5751 GB, free: 38.94 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4785, allocations: 0.7038 MB / 0.5758 GB, free: 38.23 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.4786, allocations: 12.72 kB / 0.5758 GB, free: 38.22 MB / 462.3 MB Notification: Performance of SimCode: time 5.61e-07/0.4786, allocations: 0 / 0.5758 GB, free: 38.22 MB / 462.3 MB Notification: Performance of Templates: time 0.002081/0.4807, allocations: 1.188 MB / 0.577 GB, free: 37.62 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches