Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 110.5 kB / 18.48 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 193 kB / 21.43 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_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_0_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.001944/0.001944, allocations: 47.94 kB / 366.4 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 52.14 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003731/0.115, allocations: 2.089 MB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1161, allocations: 0.5574 MB / 421.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1163, allocations: 0 / 421.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1165, allocations: 27.67 kB / 421.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.1169, allocations: 79.42 kB / 421.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1171, allocations: 47.92 kB / 421.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.1175, allocations: 271 kB / 421.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1177, allocations: 32.73 kB / 421.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1179, allocations: 111.5 kB / 421.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1181, allocations: 143.2 kB / 421.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.1181, allocations: 20 kB / 421.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.1182, allocations: 20 kB / 421.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-05/0.1183, allocations: 51.77 kB / 421.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1184, allocations: 127.1 kB / 422.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.1187, allocations: 238.7 kB / 422.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1187, allocations: 4 kB / 422.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1187, allocations: 0 / 422.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.1187, allocations: 0 / 422.3 MB, free: 8.766 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.001217/0.1199, allocations: 0.6032 MB / 422.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.12, allocations: 19.88 kB / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.383e-05/0.12, allocations: 192 / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.12, allocations: 38.75 kB / 423 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1201, allocations: 40.7 kB / 423 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.1206, allocations: 316.1 kB / 423.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1206, allocations: 8 kB / 423.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.1207, allocations: 15.95 kB / 423.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1209, allocations: 126.2 kB / 423.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1209, allocations: 0 / 423.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.121, allocations: 7.938 kB / 423.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.121, allocations: 4 kB / 423.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1212, allocations: 75.97 kB / 423.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.1221, allocations: 0.5276 MB / 424.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1226, allocations: 178.6 kB / 424.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1227, allocations: 57.09 kB / 424.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1227, allocations: 3.938 kB / 424.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1228, allocations: 42.55 kB / 424.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.1228, allocations: 0 / 424.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001637/0.1244, allocations: 0.6607 MB / 425 MB, free: 5.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1245, allocations: 55.41 kB / 425.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.1249, allocations: 328.6 kB / 425.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1249, allocations: 33.7 kB / 425.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.125, allocations: 168.2 kB / 425.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.1251, allocations: 63.44 kB / 425.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.1251, allocations: 37.7 kB / 425.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1253, allocations: 338.8 kB / 426 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1255, allocations: 59.97 kB / 426.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1256, allocations: 59.97 kB / 426.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1259, allocations: 159.5 kB / 426.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1259, allocations: 0 / 426.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003991/0.1263, allocations: 213.4 kB / 426.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1263, allocations: 4 kB / 426.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1263, allocations: 0 / 426.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1263, allocations: 3.938 kB / 426.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1267, allocations: 63.89 kB / 426.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1267, allocations: 0 / 426.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.1268, allocations: 8 kB / 426.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1268, allocations: 8 kB / 426.6 MB, free: 4.211 MB / 350.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.0001384/0.127, allocations: 129.8 kB / 426.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.385e-05/0.127, allocations: 31.81 kB / 426.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.1275, allocations: 220.5 kB / 426.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1275, allocations: 7.938 kB / 427 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1275, allocations: 0 / 427 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1275, allocations: 0 / 427 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1279, allocations: 317.4 kB / 427.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1279, allocations: 4 kB / 427.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.1283, allocations: 63.95 kB / 427.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1283, allocations: 0 / 427.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.1283, allocations: 11.94 kB / 427.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1284, allocations: 7.922 kB / 427.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1284, allocations: 0 / 427.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.129, allocations: 397.3 kB / 427.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.1291, allocations: 104.9 kB / 427.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.1291, allocations: 4.062 kB / 427.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1293, allocations: 15.92 kB / 427.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.1294, allocations: 7.984 kB / 427.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1294, allocations: 4 kB / 427.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1297, allocations: 262.9 kB / 428.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1297, allocations: 0 / 428.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.13, allocations: 40 kB / 428.2 MB, free: 2.512 MB / 350.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.0009593/0.1309, allocations: 0.9269 MB / 429.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1313, allocations: 149.1 kB / 429.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1313, allocations: 0 / 429.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1315, allocations: 91.89 kB / 429.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.1319, allocations: 33.08 kB / 429.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.1363, allocations: 3.068 MB / 432.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.1367, allocations: 0.7634 MB / 433.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1368, allocations: 34.27 kB / 433.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.137, allocations: 95.39 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.137, allocations: 0 / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.1621, allocations: 5.766 MB / 439.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/9.034, allocations: 7.844 kB / 439.1 MB, free: 7.699 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.870049021963496]