Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.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.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10",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.001399/0.001399, allocations: 109.9 kB / 17.06 MB, free: 6.02 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.001445/0.001445, allocations: 192 kB / 18 MB, free: 5.102 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.341/1.341, allocations: 222.9 MB / 241.7 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.8982/0.8982, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.09 kB / 0.5718 GB, free: 39.21 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.118, allocations: 80.7 MB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10): time 0.002375/0.1204, allocations: 1.453 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000286/0.1207, allocations: 106 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.1207, allocations: 0 / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.1209, allocations: 11.92 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.121, allocations: 59.72 kB / 0.6522 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1212, allocations: 31.88 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.1218, allocations: 0.6356 MB / 0.6529 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.1219, allocations: 12 kB / 0.6529 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.1222, allocations: 239.6 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.1226, allocations: 291.4 kB / 0.6534 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.1227, allocations: 32 kB / 0.6534 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.1228, allocations: 28 kB / 0.6534 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.123, allocations: 183.5 kB / 0.6536 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1232, allocations: 199.2 kB / 0.6538 GB, free: 8.902 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.1236, allocations: 330.8 kB / 0.6541 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1236, allocations: 0 / 0.6541 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1236, allocations: 3.938 kB / 0.6541 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1236, allocations: 0 / 0.6541 GB, free: 8.574 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002325/0.1259, allocations: 0.8619 MB / 0.655 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.126, allocations: 11.89 kB / 0.655 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.038e-05/0.1261, allocations: 66.72 kB / 0.655 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.1261, allocations: 28.8 kB / 0.6551 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1265, allocations: 271.9 kB / 0.6553 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.1265, allocations: 32.94 kB / 0.6554 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/0.1266, allocations: 44.33 kB / 0.6554 GB, free: 7.164 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.1274, allocations: 445.1 kB / 0.6558 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1274, allocations: 3.938 kB / 0.6558 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1275, allocations: 12 kB / 0.6558 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1275, allocations: 4 kB / 0.6558 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.1281, allocations: 378 kB / 0.6562 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.1314, allocations: 2.152 MB / 0.6583 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/0.1322, allocations: 472.1 kB / 0.6587 GB, free: 3.441 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.1328, allocations: 318 kB / 0.6591 GB, free: 3.125 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.1328, allocations: 16.36 kB / 0.6591 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1329, allocations: 35 kB / 0.6591 GB, free: 3.066 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=49): time 1.883e-06/0.1329, allocations: 0 / 0.6591 GB, free: 3.066 MB / 0.4983 GB Notification: Performance of matching and sorting (n=49): time 0.001558/0.1344, allocations: 0.8046 MB / 0.6599 GB, free: 2.258 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1345, allocations: 55.84 kB / 0.6599 GB, free: 2.191 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1346, allocations: 137.8 kB / 0.6601 GB, free: 2.047 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.1347, allocations: 41.7 kB / 0.6601 GB, free: 2 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.1347, allocations: 121.2 kB / 0.6602 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.1349, allocations: 214.2 kB / 0.6604 GB, free: 1.664 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1351, allocations: 110.3 kB / 0.6605 GB, free: 1.551 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1353, allocations: 338.8 kB / 0.6609 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.1358, allocations: 285.1 kB / 0.6611 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.1363, allocations: 328.7 kB / 0.6614 GB, free: 0.6016 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.1374, allocations: 0.6077 MB / 0.662 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1374, allocations: 0 / 0.662 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001245/0.1386, allocations: 0.7313 MB / 0.6628 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1387, allocations: 8.031 kB / 0.6628 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1387, allocations: 0 / 0.6628 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1387, allocations: 4 kB / 0.6628 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.1398, allocations: 259.7 kB / 0.663 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1398, allocations: 0 / 0.663 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.1402, allocations: 59.64 kB / 0.6631 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.1402, allocations: 23.92 kB / 0.6631 GB, free: 14.9 MB / 0.5139 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 (77): * Single equations (assignments): 77 * 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 0.0001805/0.1404, allocations: 162.6 kB / 0.6632 GB, free: 14.73 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.1405, allocations: 31.78 kB / 0.6633 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.1407, allocations: 74.28 kB / 0.6633 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1407, allocations: 8 kB / 0.6634 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1408, allocations: 7.875 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1408, allocations: 3.984 kB / 0.6634 GB, free: 14.61 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.1414, allocations: 469.5 kB / 0.6638 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1414, allocations: 3.938 kB / 0.6638 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/0.1428, allocations: 255.8 kB / 0.6641 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1428, allocations: 4 kB / 0.6641 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.1429, allocations: 23.97 kB / 0.6641 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1429, allocations: 4 kB / 0.6641 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1429, allocations: 3.984 kB / 0.6641 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.1445, allocations: 1.002 MB / 0.6651 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.1446, allocations: 108.8 kB / 0.6652 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/0.1447, allocations: 23.98 kB / 0.6652 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.145, allocations: 19.97 kB / 0.6652 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1452, allocations: 32.34 kB / 0.6653 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.1452, allocations: 19.98 kB / 0.6653 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.328e-05/0.1453, allocations: 91.27 kB / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1453, allocations: 4 kB / 0.6654 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004082/0.1457, allocations: 148 kB / 0.6655 GB, free: 12.34 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 27 (TAtilde[1],TAtilde[2],TAtilde[3],TAtilde[4],TAtilde[5],TAtilde[6],TAtilde[7],TAtilde[8],TAtilde[9],TBtilde[1],TBtilde[2],TBtilde[3],TBtilde[4],TBtilde[5],TBtilde[6],TBtilde[7],TBtilde[8],TBtilde[9],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9]) * 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 (49): * Single equations (assignments): 49 * 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.001956/0.1477, allocations: 1.57 MB / 0.667 GB, free: 10.74 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.1488, allocations: 0.6425 MB / 0.6677 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1488, allocations: 0 / 0.6677 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.1493, allocations: 318.3 kB / 0.668 GB, free: 9.785 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1498, allocations: 67.61 kB / 0.668 GB, free: 9.723 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007847/0.1576, allocations: 5.921 MB / 0.6738 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1581, allocations: 0.7956 MB / 0.6746 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004783/0.1586, allocations: 182.8 kB / 0.6748 GB, free: 2.715 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.1588, allocations: 95.41 kB / 0.6749 GB, free: 2.625 MB / 0.5139 GB Notification: Performance of SimCode: time 4.11e-07/0.1588, allocations: 3.938 kB / 0.6749 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5577/0.7165, allocations: 9.16 MB / 0.6838 GB, free: 9.695 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.088, allocations: 0.875 kB / 0.6838 GB, free: 9.695 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Thermal_HeatExchanger_ScaledExperiments_CounterCurrentHeatExchangerEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatExchanger.ScaledExperiments.CounterCurrentHeatExchangerEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches