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.001703/0.001703, allocations: 110.6 kB / 16.51 MB, free: 6.652 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.001982/0.001982, allocations: 199.8 kB / 17.43 MB, free: 6.035 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.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.075/1.075, allocations: 119.3 MB / 410.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.566, allocations: 80.68 MB / 0.5692 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002476/0.5685, allocations: 1.237 MB / 0.5704 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.5687, allocations: 26.77 kB / 0.5704 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.5687, allocations: 0 / 0.5704 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.5689, allocations: 0 / 0.5704 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.5689, allocations: 7.938 kB / 0.5704 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.5691, allocations: 10.17 kB / 0.5704 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5692, allocations: 52 kB / 0.5705 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.5692, allocations: 5.125 kB / 0.5705 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.5693, allocations: 19.95 kB / 0.5705 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.5694, allocations: 24.56 kB / 0.5705 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.5694, allocations: 3.031 kB / 0.5705 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.018e-05/0.5694, allocations: 2.344 kB / 0.5705 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.5695, allocations: 18.91 kB / 0.5705 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.5695, allocations: 23.67 kB / 0.5705 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.5696, allocations: 37.7 kB / 0.5706 GB, free: 41.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5696, allocations: 4 kB / 0.5706 GB, free: 41.83 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5696, allocations: 1.375 kB / 0.5706 GB, free: 41.83 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.5697, allocations: 0 / 0.5706 GB, free: 41.83 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.0005947/0.5703, allocations: 371.6 kB / 0.5709 GB, free: 41.45 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.5703, allocations: 9.656 kB / 0.571 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.5704, allocations: 41.14 kB / 0.571 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.5704, allocations: 8.156 kB / 0.571 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.5706, allocations: 178.9 kB / 0.5712 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5706, allocations: 6.625 kB / 0.5712 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.5706, allocations: 8.812 kB / 0.5712 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.5708, allocations: 83.11 kB / 0.5713 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5708, allocations: 3.938 kB / 0.5713 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5708, allocations: 0 / 0.5713 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5708, allocations: 1.375 kB / 0.5713 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.5709, allocations: 34.25 kB / 0.5713 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.5714, allocations: 320.8 kB / 0.5716 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5716, allocations: 129.7 kB / 0.5717 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.5717, allocations: 39.95 kB / 0.5718 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.5717, allocations: 1.062 kB / 0.5718 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.5717, allocations: 31.56 kB / 0.5718 GB, free: 40.65 MB / 462.3 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.5717, allocations: 0 / 0.5718 GB, free: 40.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=10): time 0.0003069/0.572, allocations: 142.5 kB / 0.5719 GB, free: 40.57 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5721, allocations: 52.62 kB / 0.572 GB, free: 40.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.959e-05/0.5721, allocations: 103.5 kB / 0.5721 GB, free: 40.4 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5722, allocations: 26.83 kB / 0.5721 GB, free: 40.37 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.5722, allocations: 88.16 kB / 0.5722 GB, free: 40.28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.5722, allocations: 50.05 kB / 0.5722 GB, free: 40.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.5723, allocations: 35.23 kB / 0.5723 GB, free: 40.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.5724, allocations: 329.1 kB / 0.5726 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.5725, allocations: 65.11 kB / 0.5727 GB, free: 39.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5726, allocations: 78.17 kB / 0.5727 GB, free: 39.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5728, allocations: 144.5 kB / 0.5729 GB, free: 39.73 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5728, allocations: 4 kB / 0.5729 GB, free: 39.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002732/0.5731, allocations: 197.7 kB / 0.5731 GB, free: 39.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5731, allocations: 5.5 kB / 0.5731 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5731, allocations: 0 / 0.5731 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5731, allocations: 5.406 kB / 0.5731 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.5733, allocations: 50.55 kB / 0.5731 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5733, allocations: 5.359 kB / 0.5731 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.5734, allocations: 17.38 kB / 0.5731 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.5734, allocations: 4.125 kB / 0.5731 GB, free: 39.59 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 7.149e-05/0.5735, allocations: 118 kB / 0.5733 GB, free: 39.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.5735, allocations: 6.656 kB / 0.5733 GB, free: 39.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.5736, allocations: 13.34 kB / 0.5733 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5736, allocations: 5.562 kB / 0.5733 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5736, allocations: 384 / 0.5733 GB, free: 39.45 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5736, allocations: 9.297 kB / 0.5733 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.5739, allocations: 193.9 kB / 0.5735 GB, free: 39.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5739, allocations: 9.109 kB / 0.5735 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.5742, allocations: 52.8 kB / 0.5735 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5742, allocations: 1.094 kB / 0.5735 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5742, allocations: 7.328 kB / 0.5735 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5742, allocations: 1.094 kB / 0.5735 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5742, allocations: 0 / 0.5735 GB, free: 39.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.5745, allocations: 253.7 kB / 0.5738 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.5745, allocations: 78.27 kB / 0.5739 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5745, allocations: 11.45 kB / 0.5739 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.5746, allocations: 2.906 kB / 0.5739 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.5747, allocations: 11.98 kB / 0.5739 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.5747, allocations: 1.531 kB / 0.5739 GB, free: 38.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.5747, allocations: 83.34 kB / 0.574 GB, free: 38.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5747, allocations: 0 / 0.574 GB, free: 38.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002342/0.5749, allocations: 30.25 kB / 0.574 GB, free: 38.81 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.0004105/0.5754, allocations: 0.7852 MB / 0.5748 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.5756, allocations: 120.4 kB / 0.5749 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5756, allocations: 4.062 kB / 0.5749 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.5757, allocations: 46.14 kB / 0.5749 GB, free: 38.02 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.5759, allocations: 9.5 kB / 0.5749 GB, free: 38.01 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.5777, allocations: 1.783 MB / 0.5767 GB, free: 36.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.578, allocations: 0.6945 MB / 0.5773 GB, free: 35.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.755e-05/0.5781, allocations: 34.36 kB / 0.5774 GB, free: 35.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.5782, allocations: 28.27 kB / 0.5774 GB, free: 35.76 MB / 462.3 MB Notification: Performance of SimCode: time 4.6e-07/0.5782, allocations: 0 / 0.5774 GB, free: 35.76 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.5905, allocations: 2.081 MB / 0.5794 GB, free: 34.79 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.5907, allocations: 222.9 kB / 0.5797 GB, free: 34.54 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.49, allocations: 0 / 0.5797 GB, free: 34.54 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