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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.8 kB / 17.74 MB, free: 5.324 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.001466/0.001466, allocations: 192.4 kB / 18.67 MB, free: 4.398 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9162/0.9162, allocations: 119.3 MB / 411.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.86 kB / 0.5715 GB, free: 39.91 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1243, allocations: 80.69 MB / 0.6503 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002102/0.1265, allocations: 1.168 MB / 0.6515 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.1266, allocations: 23.91 kB / 0.6515 GB, free: 12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.1267, allocations: 4 kB / 0.6515 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.1268, allocations: 7.922 kB / 0.6515 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.1268, allocations: 3.984 kB / 0.6515 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.127, allocations: 15.94 kB / 0.6515 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1271, allocations: 59.88 kB / 0.6516 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.1271, allocations: 0 / 0.6516 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.1272, allocations: 19.97 kB / 0.6516 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.1272, allocations: 19.98 kB / 0.6516 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1273, allocations: 7.938 kB / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1273, allocations: 4 kB / 0.6516 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.1273, allocations: 15.97 kB / 0.6517 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1274, allocations: 27.86 kB / 0.6517 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.594e-05/0.1274, allocations: 35.83 kB / 0.6517 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1275, allocations: 0 / 0.6517 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1275, allocations: 4 kB / 0.6517 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1275, allocations: 0 / 0.6517 GB, free: 11.77 MB / 0.4983 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.0005023/0.128, allocations: 363.5 kB / 0.6521 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.128, allocations: 15.89 kB / 0.6521 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1281, allocations: 8.844 kB / 0.6521 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1282, allocations: 180.2 kB / 0.6523 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.1283, allocations: 384 / 0.6523 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1283, allocations: 16.28 kB / 0.6523 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1284, allocations: 78.14 kB / 0.6524 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1285, allocations: 192 / 0.6524 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1285, allocations: 7.938 kB / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1285, allocations: 3.938 kB / 0.6524 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.1286, allocations: 31.97 kB / 0.6524 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1291, allocations: 324.8 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1292, allocations: 118.5 kB / 0.6528 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.1293, allocations: 40.84 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.1293, allocations: 0 / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1294, allocations: 42.72 kB / 0.6529 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 9.12e-07/0.1294, allocations: 4 kB / 0.6529 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0002663/0.1297, allocations: 141.5 kB / 0.653 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1297, allocations: 55.39 kB / 0.6531 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.1298, allocations: 101.9 kB / 0.6532 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1298, allocations: 25.7 kB / 0.6532 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.1299, allocations: 84.08 kB / 0.6533 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1299, allocations: 51.34 kB / 0.6533 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.13, allocations: 33.72 kB / 0.6534 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1301, allocations: 326.8 kB / 0.6537 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.1302, allocations: 63.89 kB / 0.6537 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.957e-05/0.1303, allocations: 83.91 kB / 0.6538 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1305, allocations: 137.5 kB / 0.654 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1305, allocations: 0 / 0.654 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002568/0.1307, allocations: 192.3 kB / 0.6541 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1308, allocations: 4 kB / 0.6541 GB, free: 9.059 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1308, allocations: 4.031 kB / 0.6541 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1308, allocations: 4 kB / 0.6542 GB, free: 9.051 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.131, allocations: 55.91 kB / 0.6542 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.131, allocations: 4 kB / 0.6542 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.1311, allocations: 15.97 kB / 0.6542 GB, free: 8.977 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1311, allocations: 8 kB / 0.6542 GB, free: 8.969 MB / 0.4983 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 () * 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 8.08e-05/0.1312, allocations: 122.8 kB / 0.6543 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1312, allocations: 15.83 kB / 0.6544 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.1312, allocations: 15.97 kB / 0.6544 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1313, allocations: 0 / 0.6544 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1313, allocations: 0 / 0.6544 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1313, allocations: 11.94 kB / 0.6544 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1315, allocations: 193.7 kB / 0.6546 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1315, allocations: 0 / 0.6546 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1318, allocations: 47.97 kB / 0.6546 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1318, allocations: 4 kB / 0.6546 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1319, allocations: 4 kB / 0.6546 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1319, allocations: 8.359 kB / 0.6546 GB, free: 8.492 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1319, allocations: 4 kB / 0.6546 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.1321, allocations: 251.2 kB / 0.6549 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1322, allocations: 92.94 kB / 0.655 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1322, allocations: 4.094 kB / 0.655 GB, free: 8.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.1323, allocations: 11.92 kB / 0.655 GB, free: 8.102 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.1323, allocations: 4 kB / 0.655 GB, free: 8.098 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1323, allocations: 7.938 kB / 0.655 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.1324, allocations: 83.27 kB / 0.6551 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 4 kB / 0.6551 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002311/0.1326, allocations: 20 kB / 0.6551 GB, free: 7.984 MB / 0.4983 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 () * 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 9.185e-05/0.1327, allocations: 103.7 kB / 0.6552 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.1329, allocations: 119.9 kB / 0.6553 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1329, allocations: 0 / 0.6553 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.133, allocations: 51.91 kB / 0.6554 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1332, allocations: 4.062 kB / 0.6554 GB, free: 7.703 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.1337, allocations: 353.7 kB / 0.6557 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.134, allocations: 0.7039 MB / 0.6564 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.134, allocations: 11.44 kB / 0.6564 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of SimCode: time 3.11e-07/0.134, allocations: 0 / 0.6564 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of Templates: time 0.002378/0.1364, allocations: 1.204 MB / 0.6576 GB, free: 5.383 MB / 0.4983 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches