Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 75.81 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09774, allocations: 53.32 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003147/0.1009, allocations: 2.103 MB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1019, allocations: 0.5768 MB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.102, allocations: 4 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1021, allocations: 19.69 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1024, allocations: 83.41 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.1026, allocations: 51.92 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1029, allocations: 259.1 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.103, allocations: 44.64 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1032, allocations: 111.4 kB / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.1034, allocations: 143.2 kB / 430.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1034, allocations: 20 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.278e-05/0.1034, allocations: 20 kB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.1035, allocations: 55.7 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1036, allocations: 119.2 kB / 430.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1039, allocations: 246.7 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1039, allocations: 0 / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1039, allocations: 4 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1039, allocations: 0 / 430.5 MB, free: 1.121 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.001029/0.1049, allocations: 0.5993 MB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.105, allocations: 8.031 kB / 431.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.105, allocations: 46.73 kB / 431.2 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.1051, allocations: 32.75 kB / 431.2 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1055, allocations: 320.2 kB / 431.5 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1055, allocations: 7.938 kB / 431.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1055, allocations: 16 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1058, allocations: 117.7 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1058, allocations: 0 / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1058, allocations: 4 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1058, allocations: 4 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.106, allocations: 83.83 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.1068, allocations: 0.5275 MB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.1072, allocations: 174.8 kB / 432.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1073, allocations: 56.78 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1074, allocations: 4 kB / 432.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1074, allocations: 38.5 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1074, allocations: 3.938 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001414/0.1088, allocations: 0.6652 MB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.1088, allocations: 51.41 kB / 433.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.1092, allocations: 332.6 kB / 433.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1092, allocations: 33.7 kB / 433.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1093, allocations: 164.3 kB / 433.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.1094, allocations: 63.47 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.1095, allocations: 37.7 kB / 433.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1096, allocations: 338.8 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1097, allocations: 59.97 kB / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1098, allocations: 59.97 kB / 434.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.1101, allocations: 152.1 kB / 434.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1101, allocations: 0 / 434.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003496/0.1105, allocations: 217.4 kB / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1105, allocations: 4 kB / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1105, allocations: 0 / 434.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1105, allocations: 4 kB / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.1108, allocations: 63.84 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1108, allocations: 0 / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1109, allocations: 11.98 kB / 434.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1109, allocations: 4 kB / 434.8 MB, free: 12.59 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.0001156/0.111, allocations: 129.8 kB / 434.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1111, allocations: 31.81 kB / 434.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.1115, allocations: 224.5 kB / 435.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1115, allocations: 7.938 kB / 435.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1115, allocations: 4 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1115, allocations: 3.938 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1119, allocations: 317.4 kB / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1119, allocations: 0 / 435.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003425/0.1122, allocations: 59.95 kB / 435.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1122, allocations: 4 kB / 435.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1122, allocations: 4 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1122, allocations: 3.938 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1123, allocations: 4 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.1128, allocations: 397 kB / 435.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-05/0.1129, allocations: 113 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.1129, allocations: 4 kB / 436 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1131, allocations: 7.938 kB / 436.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.1132, allocations: 15.97 kB / 436.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1132, allocations: 4 kB / 436.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.1134, allocations: 247.1 kB / 436.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1134, allocations: 0 / 436.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1137, allocations: 44 kB / 436.4 MB, free: 10.9 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.0008497/0.1145, allocations: 0.9231 MB / 437.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1149, allocations: 149.8 kB / 437.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1149, allocations: 0 / 437.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.115, allocations: 83.91 kB / 437.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1154, allocations: 37.08 kB / 437.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.1193, allocations: 3.06 MB / 440.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1196, allocations: 0.7635 MB / 441.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.1197, allocations: 30.28 kB / 441.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.1199, allocations: 95.39 kB / 441.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1199, allocations: 0 / 441.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.148, allocations: 5.719 MB / 447.2 MB, free: 104 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.093, allocations: 9.891 kB / 447.2 MB, free: 96 kB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.670958921313286]