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.001392/0.001392, allocations: 107.1 kB / 20.44 MB, free: 1.344 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: 210.9 kB / 23.73 MB, free: 4.523 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.384/1.384, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001486/0.001486, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2472, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00342/0.2506, allocations: 2.002 MB / 433.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2518, allocations: 0.5419 MB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.252, allocations: 0 / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.2521, allocations: 27.61 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2524, allocations: 75.47 kB / 433.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.2526, allocations: 63.84 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.253, allocations: 259.1 kB / 434.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2531, allocations: 42.59 kB / 434.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2534, allocations: 119.4 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.2536, allocations: 135.3 kB / 434.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.2536, allocations: 20 kB / 434.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.274e-05/0.2537, allocations: 20 kB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.622e-05/0.2537, allocations: 59.69 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2539, allocations: 103.3 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.2541, allocations: 246.7 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2542, allocations: 0 / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2542, allocations: 0 / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2542, allocations: 0 / 434.8 MB, free: 2.922 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.001092/0.2553, allocations: 0.5318 MB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2553, allocations: 8.031 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.2553, allocations: 42.73 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.2554, allocations: 32.75 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.2558, allocations: 258.5 kB / 435.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2558, allocations: 11.94 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.2558, allocations: 16 kB / 435.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2561, allocations: 117.6 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2561, allocations: 0 / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2561, allocations: 4 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2561, allocations: 4 kB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2563, allocations: 75.95 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.2571, allocations: 467.4 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.2577, allocations: 182.6 kB / 436.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.2578, allocations: 64.72 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2578, allocations: 0 / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2578, allocations: 38.55 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2578, allocations: 0 / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001539/0.2594, allocations: 0.5959 MB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2594, allocations: 51.41 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.2598, allocations: 328.6 kB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2598, allocations: 33.7 kB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2599, allocations: 160.3 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.26, allocations: 63.48 kB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.2601, allocations: 37.7 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2602, allocations: 342.8 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2604, allocations: 55.97 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2605, allocations: 63.97 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.2607, allocations: 139.8 kB / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2607, allocations: 0 / 438.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003859/0.2611, allocations: 221.3 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2611, allocations: 4 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2612, allocations: 4 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2612, allocations: 4 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.2615, allocations: 59.89 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2615, allocations: 0 / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2616, allocations: 11.94 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2616, allocations: 8 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.0001345/0.2618, allocations: 137.8 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.2618, allocations: 27.81 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.2623, allocations: 224.5 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2623, allocations: 3.938 kB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2623, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2623, allocations: 0 / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.2626, allocations: 268.5 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2626, allocations: 0 / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.263, allocations: 59.95 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.263, allocations: 0 / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.263, allocations: 7.938 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.263, allocations: 3.938 kB / 439.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.263, allocations: 4 kB / 439.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.2636, allocations: 389.8 kB / 439.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.2637, allocations: 35.84 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2637, allocations: 4 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2639, allocations: 11.94 kB / 439.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.264, allocations: 15.91 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.264, allocations: 4 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.2642, allocations: 251 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2642, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.2645, allocations: 48 kB / 440.2 MB, free: 13.19 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.0008781/0.2654, allocations: 0.9152 MB / 441.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2657, allocations: 147.9 kB / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2657, allocations: 0 / 441.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2659, allocations: 90.7 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2662, allocations: 34.7 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.2702, allocations: 3.066 MB / 444.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2704, allocations: 155.5 kB / 444.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.2705, allocations: 34.27 kB / 444.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.2706, allocations: 91.41 kB / 444.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2706, allocations: 0 / 444.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.3057, allocations: 6.483 MB / 451.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.85, allocations: 3.125 kB / 451.2 MB, free: 2.254 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.219519323989516]