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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 93.84 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.179/1.179, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.38e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6735/0.6735, allocations: 82.84 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.8525, allocations: 124.5 MB / 0.7313 GB, free: 336 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.8528, allocations: 55.92 kB / 0.7314 GB, free: 280 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.003296/0.8561, allocations: 0.9625 MB / 0.7323 GB, free: 15.31 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8561, allocations: 0 / 0.7323 GB, free: 15.31 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.8561, allocations: 4 kB / 0.7323 GB, free: 15.31 MB / 0.5419 GB 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.000439/0.8566, allocations: 366.5 kB / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8566, allocations: 8.031 kB / 0.7327 GB, free: 14.9 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.8567, allocations: 11.86 kB / 0.7327 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.8569, allocations: 178.9 kB / 0.7329 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.857, allocations: 4 kB / 0.7329 GB, free: 14.67 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.857, allocations: 7.906 kB / 0.7329 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001056/0.8571, allocations: 27.98 kB / 0.7329 GB, free: 14.63 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.8573, allocations: 73.64 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8573, allocations: 7.984 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8573, allocations: 0 / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8573, allocations: 3.953 kB / 0.733 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.8579, allocations: 293.4 kB / 0.7333 GB, free: 14.22 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.8581, allocations: 110.5 kB / 0.7334 GB, free: 14.1 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.8581, allocations: 36.84 kB / 0.7334 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.8581, allocations: 4 kB / 0.7334 GB, free: 14.06 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.8582, allocations: 34.56 kB / 0.7334 GB, free: 14.02 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.8582, allocations: 4 kB / 0.7334 GB, free: 14.01 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.000242/0.8584, allocations: 109.7 kB / 0.7336 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.8585, allocations: 51.5 kB / 0.7336 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.8586, allocations: 92.94 kB / 0.7337 GB, free: 13.74 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.8586, allocations: 25.7 kB / 0.7337 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.8586, allocations: 92.27 kB / 0.7338 GB, free: 13.61 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.8587, allocations: 47.34 kB / 0.7338 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.8587, allocations: 0 / 0.7338 GB, free: 13.56 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8588, allocations: 318.8 kB / 0.7342 GB, free: 13.24 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.8589, allocations: 60.33 kB / 0.7342 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.859, allocations: 70.25 kB / 0.7343 GB, free: 13.11 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.8591, allocations: 74.45 kB / 0.7343 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8591, allocations: 4 kB / 0.7344 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000247/0.8594, allocations: 181.5 kB / 0.7345 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8594, allocations: 4 kB / 0.7345 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8594, allocations: 0 / 0.7345 GB, free: 12.85 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8594, allocations: 4 kB / 0.7345 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.8596, allocations: 51.91 kB / 0.7346 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8597, allocations: 7.953 kB / 0.7346 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.8597, allocations: 11.84 kB / 0.7346 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.8597, allocations: 8 kB / 0.7346 GB, free: 12.77 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.8598, allocations: 105 kB / 0.7347 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001606/0.86, allocations: 105.6 kB / 0.7348 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.86, allocations: 15.89 kB / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.8601, allocations: 8.406 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8601, allocations: 3.953 kB / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8601, allocations: 0 / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8601, allocations: 0 / 0.7348 GB, free: 12.52 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.8603, allocations: 170.3 kB / 0.735 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8604, allocations: 0 / 0.735 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.8606, allocations: 55.91 kB / 0.7351 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8606, allocations: 112 / 0.7351 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.8607, allocations: 15.92 kB / 0.7351 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8607, allocations: 0 / 0.7351 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8607, allocations: 0 / 0.7351 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.861, allocations: 243.2 kB / 0.7353 GB, free: 11.99 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.861, allocations: 85.05 kB / 0.7354 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.8611, allocations: 7.984 kB / 0.7354 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.8612, allocations: 0 / 0.7354 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.8612, allocations: 19.94 kB / 0.7354 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.8612, allocations: 0 / 0.7354 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.8613, allocations: 79.28 kB / 0.7355 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8613, allocations: 0 / 0.7355 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002368/0.8615, allocations: 20 kB / 0.7355 GB, free: 11.76 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005247/0.862, allocations: 0.7802 MB / 0.7363 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.8623, allocations: 112 kB / 0.7364 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8623, allocations: 0 / 0.7364 GB, free: 10.85 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.8623, allocations: 39.98 kB / 0.7364 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.8625, allocations: 7.953 kB / 0.7364 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005863/0.8631, allocations: 342.7 kB / 0.7367 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.8634, allocations: 0.7002 MB / 0.7374 GB, free: 9.699 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.8635, allocations: 40.38 kB / 0.7375 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.8635, allocations: 19.44 kB / 0.7375 GB, free: 9.641 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.8636, allocations: 0.75 kB / 0.7375 GB, free: 9.641 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.885, allocations: 1.62 MB / 0.7391 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.8853, allocations: 165.6 kB / 0.7392 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.638, allocations: 0 / 0.7392 GB, free: 7.832 MB / 0.5419 GB (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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder_res.mat does not exist to compare? outputFormat=mat