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.002279/0.002279, allocations: 118.6 kB / 17.79 MB, free: 5.25 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.00311/0.00311, allocations: 194.8 kB / 20.73 MB, free: 2.312 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.5/1.5, allocations: 225.6 MB / 249.1 MB, free: 3.594 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 43.92 kB / 365.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1069, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00458/0.1115, allocations: 2.09 MB / 419.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1128, allocations: 0.5573 MB / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.113, allocations: 0 / 420.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1132, allocations: 27.67 kB / 420.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.1136, allocations: 79.42 kB / 420.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.1138, allocations: 51.92 kB / 420.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.1142, allocations: 263 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1144, allocations: 36.72 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1146, allocations: 107.5 kB / 421 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1148, allocations: 139.2 kB / 421.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.1149, allocations: 20 kB / 421.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.1149, allocations: 27.94 kB / 421.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.115, allocations: 55.75 kB / 421.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1152, allocations: 123.1 kB / 421.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1155, allocations: 242.7 kB / 421.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1155, allocations: 0 / 421.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1155, allocations: 0 / 421.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1155, allocations: 0 / 421.6 MB, free: 8.773 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.001314/0.1168, allocations: 0.6032 MB / 422.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.1169, allocations: 15.89 kB / 422.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.745e-05/0.117, allocations: 42.73 kB / 422.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.1171, allocations: 36.7 kB / 422.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.1175, allocations: 308.4 kB / 422.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1175, allocations: 11.94 kB / 422.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.1176, allocations: 15.95 kB / 422.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.1179, allocations: 122.2 kB / 422.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1179, allocations: 3.984 kB / 422.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1179, allocations: 8 kB / 422.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1179, allocations: 0 / 422.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1182, allocations: 87.89 kB / 422.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1192, allocations: 0.5159 MB / 423.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.1198, allocations: 182.7 kB / 423.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1199, allocations: 57.02 kB / 423.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1199, allocations: 8 kB / 423.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.12, allocations: 38.5 kB / 423.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.12, allocations: 0 / 423.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001826/0.1218, allocations: 0.6662 MB / 424.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1218, allocations: 51.41 kB / 424.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.1224, allocations: 332.6 kB / 424.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1224, allocations: 33.7 kB / 424.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1226, allocations: 156.3 kB / 424.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.743e-05/0.1226, allocations: 71.41 kB / 424.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.1227, allocations: 37.7 kB / 425 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.1229, allocations: 346.7 kB / 425.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1231, allocations: 55.97 kB / 425.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1232, allocations: 63.97 kB / 425.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.1235, allocations: 150.8 kB / 425.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1235, allocations: 0 / 425.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004509/0.124, allocations: 218.9 kB / 425.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.124, allocations: 4 kB / 425.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.124, allocations: 0 / 425.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.1241, allocations: 4 kB / 425.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1244, allocations: 59.84 kB / 425.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1244, allocations: 0 / 425.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1245, allocations: 11.98 kB / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1246, allocations: 8 kB / 425.9 MB, free: 4.223 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.0001783/0.1247, allocations: 129.8 kB / 426 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.1248, allocations: 27.81 kB / 426 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.1253, allocations: 224.5 kB / 426.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.1253, allocations: 7.938 kB / 426.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1254, allocations: 0 / 426.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1254, allocations: 0 / 426.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.1259, allocations: 317.4 kB / 426.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.1259, allocations: 8 kB / 426.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.1263, allocations: 59.95 kB / 426.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1263, allocations: 0 / 426.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1263, allocations: 0 / 426.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.1263, allocations: 7.938 kB / 426.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1263, allocations: 0 / 426.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.1271, allocations: 401.1 kB / 427 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1272, allocations: 109.1 kB / 427.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.1272, allocations: 8 kB / 427.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1274, allocations: 11.94 kB / 427.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.1275, allocations: 19.91 kB / 427.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1275, allocations: 4 kB / 427.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.1278, allocations: 243.1 kB / 427.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1278, allocations: 0 / 427.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1281, allocations: 44 kB / 427.5 MB, free: 2.531 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.001061/0.1292, allocations: 0.9385 MB / 428.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004281/0.1296, allocations: 150.2 kB / 428.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1296, allocations: 0 / 428.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1298, allocations: 83.91 kB / 428.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1302, allocations: 33.08 kB / 428.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/0.1358, allocations: 3.066 MB / 431.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.1364, allocations: 0.7673 MB / 432.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1366, allocations: 30.28 kB / 432.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.1368, allocations: 95.39 kB / 432.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1368, allocations: 0 / 432.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.1717, allocations: 5.72 MB / 438.3 MB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.133/9.305, allocations: 14.48 kB / 438.3 MB, free: 7.719 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.09996 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.csv","/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] "Error: Could not read variable filter.x[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! Error: Could not read variable filter.x[3] in file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv. Warning: Get data of variable filter.x[3] from file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.30883782217279]