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/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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 179.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 235.5 MB, free: 2.984 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.000851/0.000851, allocations: 91.97 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8176/0.8176, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.088e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4872, allocations: 82.85 MB / 0.6166 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.6176, allocations: 125.1 MB / 0.7388 GB, free: 12.07 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001114/0.6177, allocations: 55.92 kB / 0.7389 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002894/0.6207, allocations: 0.9628 MB / 0.7398 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6207, allocations: 4 kB / 0.7398 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.6207, allocations: 0 / 0.7398 GB, free: 11.05 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.000345/0.621, allocations: 365.6 kB / 0.7402 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6211, allocations: 8.031 kB / 0.7402 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.6211, allocations: 11.86 kB / 0.7402 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.6213, allocations: 179 kB / 0.7403 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.6213, allocations: 8 kB / 0.7404 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.6214, allocations: 4 kB / 0.7404 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.6215, allocations: 81.59 kB / 0.7404 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6215, allocations: 3.984 kB / 0.7404 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6215, allocations: 0 / 0.7404 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6215, allocations: 4 kB / 0.7404 GB, free: 10.31 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.05e-05/0.6216, allocations: 39.88 kB / 0.7405 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.6221, allocations: 320.7 kB / 0.7408 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.6223, allocations: 110.5 kB / 0.7409 GB, free: 9.789 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.6224, allocations: 49.06 kB / 0.7409 GB, free: 9.738 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.6224, allocations: 7.938 kB / 0.741 GB, free: 9.73 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.6224, allocations: 30.56 kB / 0.741 GB, free: 9.691 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.6224, allocations: 0 / 0.741 GB, free: 9.691 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0002146/0.6226, allocations: 113.5 kB / 0.7411 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.6227, allocations: 55.41 kB / 0.7411 GB, free: 9.508 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.6227, allocations: 93 kB / 0.7412 GB, free: 9.41 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.6228, allocations: 25.7 kB / 0.7413 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.6228, allocations: 92.27 kB / 0.7413 GB, free: 9.281 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.6228, allocations: 47.36 kB / 0.7414 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6229, allocations: 0 / 0.7414 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.623, allocations: 322.8 kB / 0.7417 GB, free: 8.91 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.045e-05/0.623, allocations: 60.34 kB / 0.7418 GB, free: 8.852 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.63e-05/0.6232, allocations: 81.23 kB / 0.7418 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.6233, allocations: 74.52 kB / 0.7419 GB, free: 8.699 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6233, allocations: 4 kB / 0.7419 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002497/0.6235, allocations: 193.4 kB / 0.7421 GB, free: 8.5 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6235, allocations: 8 kB / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6236, allocations: 0 / 0.7421 GB, free: 8.492 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6236, allocations: 3.953 kB / 0.7421 GB, free: 8.488 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.6238, allocations: 55.91 kB / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6238, allocations: 0 / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.6239, allocations: 15.84 kB / 0.7422 GB, free: 8.418 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6239, allocations: 4 kB / 0.7422 GB, free: 8.414 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 6.039e-05/0.6239, allocations: 113 kB / 0.7423 GB, free: 8.297 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.624, allocations: 4 kB / 0.7423 GB, free: 8.293 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.624, allocations: 12.09 kB / 0.7423 GB, free: 8.281 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.624, allocations: 3.984 kB / 0.7423 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.624, allocations: 7.953 kB / 0.7423 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.624, allocations: 112 / 0.7423 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.6243, allocations: 201.5 kB / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6243, allocations: 0 / 0.7425 GB, free: 8.023 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.6246, allocations: 55.91 kB / 0.7426 GB, free: 7.969 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6246, allocations: 4 kB / 0.7426 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.6246, allocations: 7.984 kB / 0.7426 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6246, allocations: 0 / 0.7426 GB, free: 7.957 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.6246, allocations: 4 kB / 0.7426 GB, free: 7.953 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.6249, allocations: 247.3 kB / 0.7428 GB, free: 7.695 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.6249, allocations: 84.95 kB / 0.7429 GB, free: 7.594 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.6249, allocations: 7.984 kB / 0.7429 GB, free: 7.586 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.625, allocations: 4 kB / 0.7429 GB, free: 7.582 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.6251, allocations: 19.94 kB / 0.7429 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.6251, allocations: 0 / 0.7429 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.117e-05/0.6251, allocations: 79.47 kB / 0.743 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6251, allocations: 0 / 0.743 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002224/0.6253, allocations: 24 kB / 0.743 GB, free: 7.461 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 9.83e-05/0.6255, allocations: 107.3 kB / 0.7431 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.6257, allocations: 115.9 kB / 0.7432 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6257, allocations: 4.062 kB / 0.7432 GB, free: 7.227 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.6257, allocations: 39.98 kB / 0.7433 GB, free: 7.188 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.6259, allocations: 11.94 kB / 0.7433 GB, free: 7.176 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.6262, allocations: 285.3 kB / 0.7436 GB, free: 6.875 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.6264, allocations: 0.7043 MB / 0.7442 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.6265, allocations: 40.38 kB / 0.7443 GB, free: 6.102 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.6265, allocations: 11.44 kB / 0.7443 GB, free: 6.09 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.6266, allocations: 0 / 0.7443 GB, free: 6.09 MB / 0.5419 GB Notification: Performance of Templates: time 0.002303/0.6289, allocations: 0.7278 MB / 0.745 GB, free: 5.367 MB / 0.5419 GB 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