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.001393/0.001393, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001497/0.001497, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.777 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 377.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003362/0.2466, allocations: 1.995 MB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2477, allocations: 0.5456 MB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2478, allocations: 0 / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2479, allocations: 27.67 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2482, allocations: 75.42 kB / 433.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.2484, allocations: 55.91 kB / 433.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.2487, allocations: 263 kB / 434.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2488, allocations: 46.56 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.249, allocations: 115.4 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2492, allocations: 119.3 kB / 434.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.2493, allocations: 20 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.066e-05/0.2493, allocations: 20 kB / 434.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.2494, allocations: 59.75 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2495, allocations: 107.2 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.2498, allocations: 242.8 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2498, allocations: 0 / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2498, allocations: 0 / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2498, allocations: 0 / 434.8 MB, free: 2.93 MB / 334.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.001072/0.2509, allocations: 0.5382 MB / 435.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2509, allocations: 8.031 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.251, allocations: 46.67 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.2511, allocations: 32.75 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2514, allocations: 246.5 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2515, allocations: 11.94 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.2515, allocations: 16 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.2518, allocations: 125.5 kB / 435.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2518, allocations: 0 / 435.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2518, allocations: 4 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2518, allocations: 4 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.252, allocations: 75.95 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.2529, allocations: 463.4 kB / 436.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.2535, allocations: 178.7 kB / 436.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.2536, allocations: 60.72 kB / 436.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2536, allocations: 0 / 436.6 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2537, allocations: 38.56 kB / 436.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.011e-06/0.2537, allocations: 3.938 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001526/0.2552, allocations: 0.5999 MB / 437.2 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2552, allocations: 55.41 kB / 437.3 MB, free: 288 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.2556, allocations: 328.6 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2557, allocations: 33.7 kB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2558, allocations: 156.3 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.2558, allocations: 67.47 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.2559, allocations: 37.7 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2561, allocations: 342.8 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2562, allocations: 63.91 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.2563, allocations: 59.97 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.2566, allocations: 139.6 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2566, allocations: 4 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003615/0.257, allocations: 209.4 kB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.257, allocations: 4 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.257, allocations: 8 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.257, allocations: 4 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2573, allocations: 63.84 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2573, allocations: 0 / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2574, allocations: 15.92 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2575, allocations: 4 kB / 438.8 MB, free: 14.73 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.0001461/0.2576, allocations: 133.8 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.2577, allocations: 27.81 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.2581, allocations: 228.5 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2581, allocations: 3.938 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2581, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2581, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.2585, allocations: 256.6 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2585, allocations: 0 / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.2588, allocations: 59.89 kB / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2588, allocations: 0 / 439.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2589, allocations: 15.92 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2589, allocations: 3.938 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2589, allocations: 4 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005847/0.2594, allocations: 385.7 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.2595, allocations: 31.86 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.2595, allocations: 7.984 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2597, allocations: 7.938 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.2598, allocations: 15.97 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2598, allocations: 4 kB / 439.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002684/0.2601, allocations: 243.1 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2601, allocations: 4 kB / 440.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.2603, allocations: 51.94 kB / 440.2 MB, free: 13.2 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.0008555/0.2612, allocations: 0.9192 MB / 441.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2615, allocations: 150.9 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2615, allocations: 0 / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2617, allocations: 83.91 kB / 441.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.262, allocations: 38.77 kB / 441.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.2661, allocations: 3.061 MB / 444.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.2662, allocations: 155.5 kB / 444.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.2664, allocations: 34.27 kB / 444.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2665, allocations: 95.39 kB / 444.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2665, allocations: 3.938 kB / 444.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3, allocations: 6.428 MB / 451.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.05, allocations: 0 / 451.2 MB, free: 2.312 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.442620307207108]