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: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 107.4 kB / 16.62 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.001094/0.001094, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.172/1.172, allocations: 222.9 MB / 241.2 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.7508/0.7508, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3718, allocations: 80.68 MB / 0.5693 GB, free: 43.45 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001671/0.3735, allocations: 1.245 MB / 0.5705 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001128/0.3737, allocations: 25.36 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3737, allocations: 0 / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.716e-05/0.3737, allocations: 4 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.81e-05/0.3738, allocations: 1.219 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.677e-05/0.3739, allocations: 2.125 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.374, allocations: 59.66 kB / 0.5706 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.374, allocations: 1.375 kB / 0.5706 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.374, allocations: 26.88 kB / 0.5707 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.3741, allocations: 18.08 kB / 0.5707 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3741, allocations: 2.625 kB / 0.5707 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.3741, allocations: 2.156 kB / 0.5707 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.3741, allocations: 19.53 kB / 0.5707 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.3742, allocations: 31.7 kB / 0.5707 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.299e-05/0.3742, allocations: 33.64 kB / 0.5708 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3743, allocations: 0 / 0.5708 GB, free: 42.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3743, allocations: 0 / 0.5708 GB, free: 42.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.3743, allocations: 0 / 0.5708 GB, free: 42.34 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.0003559/0.3746, allocations: 377.6 kB / 0.5711 GB, free: 41.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3747, allocations: 17.45 kB / 0.5711 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.177e-05/0.3747, allocations: 40.16 kB / 0.5712 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.3747, allocations: 3.5 kB / 0.5712 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.3748, allocations: 176 kB / 0.5714 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-06/0.3748, allocations: 2.5 kB / 0.5714 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3749, allocations: 14.02 kB / 0.5714 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.375, allocations: 89.33 kB / 0.5715 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.375, allocations: 3.938 kB / 0.5715 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.375, allocations: 1.844 kB / 0.5715 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.375, allocations: 0 / 0.5715 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.3751, allocations: 29.42 kB / 0.5715 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.3754, allocations: 329.5 kB / 0.5718 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3756, allocations: 129.4 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.3756, allocations: 36.09 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.3756, allocations: 1.375 kB / 0.572 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.478e-06/0.3756, allocations: 35.94 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.3756, allocations: 0 / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002125/0.3759, allocations: 142.5 kB / 0.5721 GB, free: 41.06 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.475e-05/0.3759, allocations: 53.08 kB / 0.5722 GB, free: 41 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.3759, allocations: 106.4 kB / 0.5723 GB, free: 40.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.3759, allocations: 27.2 kB / 0.5723 GB, free: 40.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.376, allocations: 88.03 kB / 0.5724 GB, free: 40.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.376, allocations: 45.8 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.376, allocations: 35.41 kB / 0.5725 GB, free: 40.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.3761, allocations: 328.9 kB / 0.5728 GB, free: 40.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.3761, allocations: 61.73 kB / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.3762, allocations: 81.81 kB / 0.5729 GB, free: 40.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3764, allocations: 140.4 kB / 0.5731 GB, free: 40.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3764, allocations: 0 / 0.5731 GB, free: 40.22 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002017/0.3766, allocations: 193.5 kB / 0.5732 GB, free: 40.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.3766, allocations: 8.812 kB / 0.5732 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3766, allocations: 1.25 kB / 0.5732 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3766, allocations: 1 kB / 0.5733 GB, free: 40.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3768, allocations: 55.03 kB / 0.5733 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3768, allocations: 1.031 kB / 0.5733 GB, free: 40.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3769, allocations: 15.89 kB / 0.5733 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3769, allocations: 13.22 kB / 0.5733 GB, free: 40.09 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 4.802e-05/0.3769, allocations: 113.9 kB / 0.5734 GB, free: 39.97 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.377, allocations: 7.406 kB / 0.5734 GB, free: 39.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.377, allocations: 15.97 kB / 0.5735 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.377, allocations: 1.406 kB / 0.5735 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.377, allocations: 5.359 kB / 0.5735 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.377, allocations: 3.938 kB / 0.5735 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3772, allocations: 194.5 kB / 0.5737 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3772, allocations: 2.25 kB / 0.5737 GB, free: 39.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3775, allocations: 53.47 kB / 0.5737 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3775, allocations: 0 / 0.5737 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3775, allocations: 12.45 kB / 0.5737 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3775, allocations: 3.938 kB / 0.5737 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3775, allocations: 4 kB / 0.5737 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.3777, allocations: 252.5 kB / 0.574 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.3777, allocations: 80.05 kB / 0.574 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3777, allocations: 6.594 kB / 0.5741 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.3778, allocations: 10.61 kB / 0.5741 GB, free: 39.4 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3778, allocations: 6.969 kB / 0.5741 GB, free: 39.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3779, allocations: 10.58 kB / 0.5741 GB, free: 39.39 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.3779, allocations: 86.78 kB / 0.5742 GB, free: 39.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 0 / 0.5742 GB, free: 39.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002162/0.3781, allocations: 23 kB / 0.5742 GB, free: 39.3 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 0.0002892/0.3784, allocations: 0.7845 MB / 0.575 GB, free: 38.58 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.3786, allocations: 126.5 kB / 0.5751 GB, free: 38.53 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3786, allocations: 1.188 kB / 0.5751 GB, free: 38.53 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.3786, allocations: 50.47 kB / 0.5751 GB, free: 38.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.3789, allocations: 8.656 kB / 0.5751 GB, free: 38.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3799, allocations: 1.774 MB / 0.5769 GB, free: 37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.38, allocations: 0.6994 MB / 0.5775 GB, free: 36.29 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.3801, allocations: 33.95 kB / 0.5776 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3801, allocations: 28.56 kB / 0.5776 GB, free: 36.26 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.3801, allocations: 0 / 0.5776 GB, free: 36.26 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3999, allocations: 2.138 MB / 0.5797 GB, free: 35.27 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.4, allocations: 222.1 kB / 0.5799 GB, free: 35.01 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.604/2.004, allocations: 0 / 0.5799 GB, free: 35.01 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_Models_CascadedFirstOrder.fmu > 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