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.001313/0.001313, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001423/0.001423, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.498/1.498, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.001609/0.001609, allocations: 51.92 kB / 371.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3327, allocations: 52.17 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003603/0.3363, allocations: 2.107 MB / 425.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3375, allocations: 0.5613 MB / 426.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.3376, allocations: 4 kB / 426.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3377, allocations: 23.67 kB / 426.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.338, allocations: 79.42 kB / 426.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3382, allocations: 51.91 kB / 426.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.3386, allocations: 259 kB / 426.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3388, allocations: 48.84 kB / 426.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3389, allocations: 107.4 kB / 426.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.3392, allocations: 139.2 kB / 426.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.3392, allocations: 20 kB / 426.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.3392, allocations: 20 kB / 426.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3393, allocations: 63.69 kB / 426.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3395, allocations: 119.2 kB / 427 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.3398, allocations: 235.6 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3398, allocations: 4 kB / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3398, allocations: 0 / 427.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3398, allocations: 0 / 427.2 MB, free: 10.78 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.001171/0.341, allocations: 0.5357 MB / 427.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.341, allocations: 8.031 kB / 427.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.066e-05/0.3411, allocations: 4.188 kB / 427.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.3411, allocations: 42.75 kB / 427.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.134e-05/0.3412, allocations: 32.7 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.3416, allocations: 258.2 kB / 428.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3416, allocations: 8 kB / 428.1 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.3417, allocations: 11.95 kB / 428.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3419, allocations: 125.6 kB / 428.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3419, allocations: 7.984 kB / 428.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.342, allocations: 4 kB / 428.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.342, allocations: 4 kB / 428.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3421, allocations: 75.84 kB / 428.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.343, allocations: 0.4954 MB / 428.8 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.3435, allocations: 178.6 kB / 429 MB, free: 8.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3436, allocations: 61.08 kB / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3436, allocations: 8 kB / 429.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3437, allocations: 38.5 kB / 429.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3437, allocations: 0 / 429.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00155/0.3452, allocations: 0.5817 MB / 429.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3453, allocations: 55.41 kB / 429.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3457, allocations: 332.6 kB / 430.1 MB, free: 7.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3457, allocations: 33.69 kB / 430.1 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3459, allocations: 156.3 kB / 430.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.3459, allocations: 67.42 kB / 430.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.346, allocations: 37.7 kB / 430.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3462, allocations: 350.7 kB / 430.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.3463, allocations: 55.98 kB / 430.8 MB, free: 7.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3464, allocations: 61.47 kB / 430.8 MB, free: 6.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3467, allocations: 146.8 kB / 431 MB, free: 6.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3467, allocations: 0 / 431 MB, free: 6.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003868/0.3471, allocations: 209.4 kB / 431.2 MB, free: 6.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3471, allocations: 8 kB / 431.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3471, allocations: 4 kB / 431.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3471, allocations: 3.938 kB / 431.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.3474, allocations: 63.89 kB / 431.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3475, allocations: 4 kB / 431.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3476, allocations: 11.94 kB / 431.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3476, allocations: 4 kB / 431.3 MB, free: 6.527 MB / 334.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.0001314/0.3477, allocations: 133.8 kB / 431.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.3478, allocations: 27.81 kB / 431.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.3482, allocations: 231.8 kB / 431.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3483, allocations: 3.938 kB / 431.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3483, allocations: 0 / 431.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3483, allocations: 0 / 431.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.3486, allocations: 296.5 kB / 432 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3486, allocations: 3.938 kB / 432 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.349, allocations: 59.95 kB / 432 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.349, allocations: 0 / 432 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.349, allocations: 11.98 kB / 432 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.349, allocations: 3.938 kB / 432 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.349, allocations: 0 / 432 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.3496, allocations: 387.2 kB / 432.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.3497, allocations: 31.8 kB / 432.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.3497, allocations: 8 kB / 432.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3499, allocations: 15.92 kB / 432.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3499, allocations: 15.89 kB / 432.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.35, allocations: 7.984 kB / 432.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.3502, allocations: 243.1 kB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3502, allocations: 0 / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.3505, allocations: 48 kB / 432.8 MB, free: 4.953 MB / 334.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.0009178/0.3514, allocations: 0.9204 MB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3518, allocations: 155 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3518, allocations: 0 / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3519, allocations: 79.91 kB / 433.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3523, allocations: 39.19 kB / 434 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.3564, allocations: 3.07 MB / 437 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3568, allocations: 0.7673 MB / 437.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.3569, allocations: 30.28 kB / 437.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3571, allocations: 95.39 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3571, allocations: 0 / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.3873, allocations: 5.926 MB / 443.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.58, allocations: 9.375 kB / 443.9 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.27154991403222]