Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.94 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1245, allocations: 53.33 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004026/0.1285, allocations: 2.095 MB / 429.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1297, allocations: 0.573 MB / 429.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1298, allocations: 7.938 kB / 429.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1299, allocations: 27.67 kB / 429.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.1303, allocations: 79.39 kB / 429.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1304, allocations: 47.94 kB / 429.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.1308, allocations: 267 kB / 430.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1309, allocations: 40.72 kB / 430.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.1312, allocations: 123.4 kB / 430.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1314, allocations: 135.3 kB / 430.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.1314, allocations: 20 kB / 430.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.1314, allocations: 20 kB / 430.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.1315, allocations: 59.69 kB / 430.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1317, allocations: 119.2 kB / 430.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.132, allocations: 238.7 kB / 430.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.132, allocations: 4 kB / 430.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.132, allocations: 0 / 430.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1321, allocations: 0 / 430.9 MB, free: 0.9688 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001202/0.1333, allocations: 0.6071 MB / 431.5 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1333, allocations: 12.03 kB / 431.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.902e-05/0.1333, allocations: 192 / 431.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/0.1334, allocations: 42.73 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.1334, allocations: 32.75 kB / 431.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.1339, allocations: 320 kB / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1339, allocations: 8 kB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.134, allocations: 12 kB / 431.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1343, allocations: 121.6 kB / 432 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1343, allocations: 7.922 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.1343, allocations: 4 kB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1343, allocations: 4 kB / 432 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.1345, allocations: 79.89 kB / 432.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.1354, allocations: 0.5237 MB / 432.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.136, allocations: 178.6 kB / 432.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1361, allocations: 56.84 kB / 432.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1361, allocations: 7.984 kB / 432.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1362, allocations: 38.5 kB / 432.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1362, allocations: 0 / 432.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001726/0.1379, allocations: 0.6673 MB / 433.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1379, allocations: 55.41 kB / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.1384, allocations: 328.6 kB / 433.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1384, allocations: 33.64 kB / 434 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.1385, allocations: 164.3 kB / 434.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.1386, allocations: 59.48 kB / 434.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.1387, allocations: 33.7 kB / 434.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1389, allocations: 346.8 kB / 434.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.139, allocations: 59.97 kB / 434.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1392, allocations: 63.91 kB / 434.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1395, allocations: 146.6 kB / 434.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1395, allocations: 0 / 434.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004024/0.1399, allocations: 220.2 kB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1399, allocations: 4 kB / 435.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1399, allocations: 0 / 435.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.1399, allocations: 7.938 kB / 435.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1402, allocations: 59.91 kB / 435.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1402, allocations: 0 / 435.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1404, allocations: 11.98 kB / 435.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1404, allocations: 4 kB / 435.1 MB, free: 12.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 0.0001383/0.1405, allocations: 125.8 kB / 435.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.1406, allocations: 27.81 kB / 435.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.1411, allocations: 232.5 kB / 435.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1411, allocations: 3.938 kB / 435.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1411, allocations: 4 kB / 435.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1411, allocations: 0 / 435.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.1415, allocations: 317.4 kB / 435.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1415, allocations: 0 / 435.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.1419, allocations: 63.89 kB / 435.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1419, allocations: 0 / 435.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1419, allocations: 4 kB / 435.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1419, allocations: 7.938 kB / 435.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1419, allocations: 3.938 kB / 435.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.1426, allocations: 397.6 kB / 436.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1427, allocations: 104.9 kB / 436.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1427, allocations: 4.188 kB / 436.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1429, allocations: 15.94 kB / 436.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.143, allocations: 15.97 kB / 436.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.143, allocations: 7.984 kB / 436.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.1433, allocations: 251.1 kB / 436.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1433, allocations: 0 / 436.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1436, allocations: 40 kB / 436.7 MB, free: 10.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * 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 (18): * Single equations (assignments): 18 * 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.001036/0.1446, allocations: 0.9269 MB / 437.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.145, allocations: 147.9 kB / 437.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.145, allocations: 0 / 437.8 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1452, allocations: 86.09 kB / 437.9 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1456, allocations: 41 kB / 437.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.1502, allocations: 3.06 MB / 441 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.1507, allocations: 0.7635 MB / 441.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.1508, allocations: 30.28 kB / 441.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.151, allocations: 95.39 kB / 441.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.151, allocations: 0 / 441.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2487/0.3997, allocations: 5.749 MB / 447.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/8.969, allocations: 7.984 kB / 447.6 MB, free: 25.37 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.650993533956353]