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.0011/0.0011, allocations: 107.2 kB / 16.92 MB, free: 5.77 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.001075/0.001075, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.137/1.137, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 2.736/2.736, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3715, allocations: 80.7 MB / 0.5698 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.001588/0.3732, allocations: 1.173 MB / 0.571 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001121/0.3733, allocations: 17.59 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.3733, allocations: 1.375 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.781e-05/0.3734, allocations: 3.938 kB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.658e-05/0.3734, allocations: 7.984 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.477e-05/0.3735, allocations: 6.781 kB / 0.571 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.3736, allocations: 59.12 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.3736, allocations: 1.562 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.3737, allocations: 27.69 kB / 0.5711 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.3737, allocations: 17.55 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3737, allocations: 3.719 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.3738, allocations: 1.312 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.3738, allocations: 14.67 kB / 0.5712 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3738, allocations: 27.97 kB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.353e-05/0.3739, allocations: 33.97 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3739, allocations: 11.92 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3739, allocations: 0 / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.3739, allocations: 1.188 kB / 0.5712 GB, free: 42.29 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.0003639/0.3743, allocations: 372.9 kB / 0.5716 GB, free: 41.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.3743, allocations: 17.3 kB / 0.5716 GB, free: 41.9 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.3743, allocations: 40 kB / 0.5716 GB, free: 41.85 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.3744, allocations: 7.625 kB / 0.5716 GB, free: 41.85 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3745, allocations: 176.5 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3745, allocations: 5.75 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3745, allocations: 5.875 kB / 0.5718 GB, free: 41.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3746, allocations: 77.58 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3746, allocations: 3.938 kB / 0.5719 GB, free: 41.58 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3746, allocations: 5.312 kB / 0.5719 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3747, allocations: 5.359 kB / 0.5719 GB, free: 41.57 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.3747, allocations: 28.48 kB / 0.5719 GB, free: 41.56 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.375, allocations: 328.9 kB / 0.5722 GB, free: 41.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3752, allocations: 126.8 kB / 0.5724 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.3753, allocations: 35.56 kB / 0.5724 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.3753, allocations: 1.062 kB / 0.5724 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.021e-05/0.3753, allocations: 35.69 kB / 0.5724 GB, free: 41.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.3753, allocations: 0 / 0.5724 GB, free: 41.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0002161/0.3755, allocations: 147 kB / 0.5726 GB, free: 41.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.3755, allocations: 52.64 kB / 0.5726 GB, free: 40.95 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.744e-05/0.3756, allocations: 106.5 kB / 0.5727 GB, free: 40.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3756, allocations: 27.45 kB / 0.5728 GB, free: 40.81 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.844e-05/0.3756, allocations: 88.05 kB / 0.5728 GB, free: 40.72 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3756, allocations: 49.25 kB / 0.5729 GB, free: 40.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3757, allocations: 32 kB / 0.5729 GB, free: 40.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.3757, allocations: 325 kB / 0.5732 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3758, allocations: 65.3 kB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.3759, allocations: 82 kB / 0.5734 GB, free: 40.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.376, allocations: 142.4 kB / 0.5735 GB, free: 40.18 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.376, allocations: 0 / 0.5735 GB, free: 40.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002039/0.3762, allocations: 195.2 kB / 0.5737 GB, free: 40.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.3763, allocations: 5.906 kB / 0.5737 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3763, allocations: 0 / 0.5737 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3763, allocations: 5.219 kB / 0.5737 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3764, allocations: 50.62 kB / 0.5737 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3765, allocations: 1.406 kB / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.3765, allocations: 17.34 kB / 0.5738 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3765, allocations: 3.469 kB / 0.5738 GB, free: 40.05 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.446e-05/0.3766, allocations: 122.8 kB / 0.5739 GB, free: 39.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3766, allocations: 7.594 kB / 0.5739 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.3766, allocations: 11.97 kB / 0.5739 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3766, allocations: 5.188 kB / 0.5739 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3766, allocations: 1.281 kB / 0.5739 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3766, allocations: 3.938 kB / 0.5739 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3768, allocations: 198.4 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3768, allocations: 1.406 kB / 0.5741 GB, free: 39.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.3771, allocations: 52.72 kB / 0.5742 GB, free: 39.67 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3771, allocations: 5.25 kB / 0.5742 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3771, allocations: 3.188 kB / 0.5742 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3771, allocations: 5.156 kB / 0.5742 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3771, allocations: 0 / 0.5742 GB, free: 39.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.3773, allocations: 265.1 kB / 0.5744 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.3773, allocations: 79.64 kB / 0.5745 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3773, allocations: 7.719 kB / 0.5745 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.3774, allocations: 6.578 kB / 0.5745 GB, free: 39.36 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.3774, allocations: 6.375 kB / 0.5745 GB, free: 39.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3774, allocations: 6.719 kB / 0.5745 GB, free: 39.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.776e-05/0.3775, allocations: 86.52 kB / 0.5746 GB, free: 39.27 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3775, allocations: 0 / 0.5746 GB, free: 39.27 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000214/0.3777, allocations: 26.94 kB / 0.5746 GB, free: 39.26 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.0002943/0.378, allocations: 0.7769 MB / 0.5754 GB, free: 38.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.3782, allocations: 136 kB / 0.5755 GB, free: 38.49 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3782, allocations: 4.062 kB / 0.5755 GB, free: 38.48 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.3782, allocations: 45.69 kB / 0.5756 GB, free: 38.46 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.3784, allocations: 10.25 kB / 0.5756 GB, free: 38.46 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3794, allocations: 1.759 MB / 0.5773 GB, free: 36.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.3795, allocations: 0.6993 MB / 0.578 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.3796, allocations: 33.61 kB / 0.578 GB, free: 36.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3797, allocations: 20.88 kB / 0.578 GB, free: 36.23 MB / 462.3 MB Notification: Performance of SimCode: time 1.9e-07/0.3797, allocations: 0 / 0.578 GB, free: 36.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/1.825, allocations: 2.221 MB / 0.5802 GB, free: 35.12 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/8.398, allocations: 9.641 kB / 0.5802 GB, free: 35.11 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches