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: 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_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_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.001609/0.001609, allocations: 109 kB / 17.74 MB, free: 5.332 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.001785/0.001776, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9219/0.9219, allocations: 119.3 MB / 411.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 61.16 kB / 0.5715 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1414, allocations: 80.69 MB / 0.6503 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder): time 0.002435/0.1439, allocations: 1.172 MB / 0.6515 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001803/0.1441, allocations: 23.89 kB / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.1442, allocations: 0 / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.961e-05/0.1443, allocations: 3.938 kB / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.1443, allocations: 0 / 0.6515 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.1445, allocations: 19.92 kB / 0.6515 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1446, allocations: 67.81 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1447, allocations: 3.984 kB / 0.6516 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.1447, allocations: 16 kB / 0.6516 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.1448, allocations: 23.95 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1448, allocations: 4 kB / 0.6516 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.1449, allocations: 4 kB / 0.6517 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1449, allocations: 15.92 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.145, allocations: 19.92 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.823e-05/0.1451, allocations: 39.77 kB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1451, allocations: 4 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1451, allocations: 0 / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1451, allocations: 4 kB / 0.6517 GB, free: 11.68 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.0005607/0.1456, allocations: 371.5 kB / 0.6521 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1457, allocations: 11.89 kB / 0.6521 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1458, allocations: 8.844 kB / 0.6521 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.146, allocations: 176.3 kB / 0.6523 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.146, allocations: 384 / 0.6523 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.146, allocations: 16.28 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1462, allocations: 86.14 kB / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1462, allocations: 192 / 0.6524 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1462, allocations: 7.938 kB / 0.6524 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1462, allocations: 0 / 0.6524 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.1463, allocations: 39.84 kB / 0.6524 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.1469, allocations: 308.9 kB / 0.6527 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1471, allocations: 126.5 kB / 0.6528 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.514e-05/0.1472, allocations: 41.11 kB / 0.6529 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1472, allocations: 3.938 kB / 0.6529 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1472, allocations: 34.56 kB / 0.6529 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1472, allocations: 0 / 0.6529 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of matching and sorting (n=10): time 0.0003019/0.1475, allocations: 145.4 kB / 0.653 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1476, allocations: 51.41 kB / 0.6531 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.1476, allocations: 105.8 kB / 0.6532 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1477, allocations: 29.7 kB / 0.6532 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.1477, allocations: 84.08 kB / 0.6533 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1478, allocations: 47.42 kB / 0.6533 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.1479, allocations: 41.7 kB / 0.6534 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1481, allocations: 318.8 kB / 0.6537 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.1482, allocations: 67.89 kB / 0.6538 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.1483, allocations: 79.92 kB / 0.6538 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1485, allocations: 145.5 kB / 0.654 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1485, allocations: 0 / 0.654 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002816/0.1488, allocations: 192.1 kB / 0.6542 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1488, allocations: 7.938 kB / 0.6542 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1488, allocations: 0 / 0.6542 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1488, allocations: 0 / 0.6542 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.149, allocations: 51.98 kB / 0.6542 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.149, allocations: 7.984 kB / 0.6542 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1491, allocations: 15.88 kB / 0.6542 GB, free: 8.879 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1491, allocations: 11.94 kB / 0.6542 GB, free: 8.867 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 9.433e-05/0.1492, allocations: 122.6 kB / 0.6544 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1493, allocations: 7.906 kB / 0.6544 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.1493, allocations: 12.27 kB / 0.6544 GB, free: 8.715 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1493, allocations: 3.938 kB / 0.6544 GB, free: 8.711 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1493, allocations: 3.984 kB / 0.6544 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.1494, allocations: 81.11 kB / 0.6545 GB, free: 8.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1494, allocations: 7.922 kB / 0.6545 GB, free: 8.602 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.1495, allocations: 12 kB / 0.6545 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1495, allocations: 7.984 kB / 0.6545 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006411/0.1502, allocations: 288.6 kB / 0.6548 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003963/0.1506, allocations: 382.7 kB / 0.6551 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001036/0.1507, allocations: 55.92 kB / 0.6552 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.1507, allocations: 79.28 kB / 0.6553 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of Backend: time 1.8e-07/0.1507, allocations: 4 kB / 0.6553 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.1512, allocations: 170.3 kB / 0.6554 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0006255/0.1518, allocations: 0.7583 MB / 0.6562 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of Templates: time 0.003485/0.1553, allocations: 1.209 MB / 0.6574 GB, free: 5.582 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > 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