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.0008118/0.0008118, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007882/0.0007882, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8699/0.8699, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.386e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002162/0.002176, allocations: 2.001 MB / 326.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.002904, allocations: 0.5495 MB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.92e-05/0.002993, allocations: 0 / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.003089, allocations: 23.67 kB / 327.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.003317, allocations: 83.34 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.003483, allocations: 55.84 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.003703, allocations: 279 kB / 327.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003808, allocations: 32.92 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.004007, allocations: 147.5 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.004126, allocations: 111.6 kB / 327.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.004154, allocations: 20 kB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.004176, allocations: 20 kB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.00424, allocations: 63.69 kB / 328 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.004295, allocations: 71.69 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004496, allocations: 235 kB / 328.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004499, allocations: 0 / 328.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.0045, allocations: 0 / 328.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004503, allocations: 0 / 328.3 MB, free: 12.25 MB / 298.7 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.0006589/0.005162, allocations: 0.5318 MB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005197, allocations: 16.03 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.005232, allocations: 42.73 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.005273, allocations: 28.75 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.005602, allocations: 253.7 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005613, allocations: 8.375 kB / 329.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.005639, allocations: 12.38 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.005812, allocations: 129.5 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.005819, allocations: 0 / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.005831, allocations: 4 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005836, allocations: 7.938 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.005953, allocations: 83.94 kB / 329.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.006481, allocations: 459.4 kB / 329.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.00678, allocations: 170.8 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.006852, allocations: 60.77 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.006868, allocations: 4 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.006889, allocations: 34.56 kB / 330.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.00689, allocations: 3.938 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001001/0.007891, allocations: 0.5997 MB / 330.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.007923, allocations: 63.34 kB / 330.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.008169, allocations: 328.6 kB / 331.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.008184, allocations: 29.7 kB / 331.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.008258, allocations: 156.4 kB / 331.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.008302, allocations: 63.47 kB / 331.3 MB, free: 9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.00835, allocations: 37.7 kB / 331.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.00843, allocations: 338.8 kB / 331.7 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.00851, allocations: 59.97 kB / 331.7 MB, free: 8.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.008586, allocations: 63.91 kB / 331.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.008758, allocations: 155.7 kB / 331.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.008759, allocations: 0 / 331.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002235/0.008983, allocations: 209.4 kB / 332.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.008995, allocations: 4 kB / 332.2 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008999, allocations: 0 / 332.2 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.009013, allocations: 7.984 kB / 332.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.00917, allocations: 59.91 kB / 332.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.009175, allocations: 0 / 332.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.077e-05/0.009246, allocations: 15.94 kB / 332.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.009256, allocations: 7.984 kB / 332.2 MB, free: 8.039 MB / 298.7 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 8.203e-05/0.009339, allocations: 129.8 kB / 332.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.009369, allocations: 27.81 kB / 332.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.00962, allocations: 220.5 kB / 332.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009623, allocations: 4 kB / 332.6 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009628, allocations: 7.984 kB / 332.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009631, allocations: 0 / 332.6 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.009838, allocations: 260.5 kB / 332.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009839, allocations: 8 kB / 332.9 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.01001, allocations: 55.95 kB / 332.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01002, allocations: 0 / 332.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.01003, allocations: 7.984 kB / 332.9 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01003, allocations: 4 kB / 333 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01003, allocations: 0 / 333 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.01039, allocations: 394.7 kB / 333.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.01043, allocations: 31.86 kB / 333.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01045, allocations: 8 kB / 333.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.01054, allocations: 11.98 kB / 333.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.01057, allocations: 11.98 kB / 333.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01058, allocations: 7.984 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.01073, allocations: 247 kB / 333.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01073, allocations: 0 / 333.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.01091, allocations: 44 kB / 333.7 MB, free: 6.52 MB / 298.7 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.0005121/0.01142, allocations: 0.923 MB / 334.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.01164, allocations: 153.5 kB / 334.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01164, allocations: 0 / 334.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.947e-05/0.01173, allocations: 79.91 kB / 334.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01198, allocations: 45.06 kB / 334.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.01453, allocations: 2.991 MB / 337.9 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01464, allocations: 159.5 kB / 338 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.01471, allocations: 30.28 kB / 338.1 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01483, allocations: 92.45 kB / 338.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01483, allocations: 0 / 338.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.03251, allocations: 6.58 MB / 344.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.807, allocations: 3.859 kB / 344.7 MB, free: 11.57 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 8.447958782315254]