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.0009502/0.0009502, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001023/0.001023, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8896/0.8896, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.055e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002453/0.002474, allocations: 2.008 MB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.003291, allocations: 0.5379 MB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.003399, allocations: 3.938 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.003507, allocations: 27.67 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.003746, allocations: 79.41 kB / 327.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.003932, allocations: 63.84 kB / 327.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.004158, allocations: 271 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004283, allocations: 36.92 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.004494, allocations: 147.4 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004613, allocations: 107.6 kB / 327.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.004643, allocations: 20 kB / 327.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.004664, allocations: 24 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.004735, allocations: 63.69 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.004793, allocations: 75.69 kB / 328 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004997, allocations: 231 kB / 328.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.005001, allocations: 4 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005002, allocations: 0 / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.005007, allocations: 0 / 328.2 MB, free: 12.19 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.0007375/0.005745, allocations: 0.5318 MB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005784, allocations: 11.98 kB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.005825, allocations: 46.73 kB / 328.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.005865, allocations: 32.75 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.006131, allocations: 253.7 kB / 329.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.006143, allocations: 8.375 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.006177, allocations: 12.38 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.006364, allocations: 125.5 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006372, allocations: 0 / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.006384, allocations: 4 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.006389, allocations: 4 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.006507, allocations: 75.95 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.00706, allocations: 467.4 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.007394, allocations: 170.7 kB / 329.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.201e-05/0.007476, allocations: 60.83 kB / 330 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.007493, allocations: 0 / 330 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.007509, allocations: 42.5 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.00751, allocations: 0 / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009538/0.008463, allocations: 0.5972 MB / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.008495, allocations: 55.34 kB / 330.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.008737, allocations: 332.6 kB / 331 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.008753, allocations: 37.64 kB / 331 MB, free: 9.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.008824, allocations: 152.4 kB / 331.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.008871, allocations: 67.45 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.008917, allocations: 37.7 kB / 331.3 MB, free: 8.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.009005, allocations: 342.8 kB / 331.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.009088, allocations: 55.97 kB / 331.7 MB, free: 8.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-05/0.009168, allocations: 71.91 kB / 331.7 MB, free: 8.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.00934, allocations: 143.8 kB / 331.9 MB, free: 8.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009342, allocations: 4 kB / 331.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002245/0.009567, allocations: 217.3 kB / 332.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.00958, allocations: 7.125 kB / 332.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.009586, allocations: 7.984 kB / 332.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.009602, allocations: 0 / 332.1 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.009753, allocations: 51.97 kB / 332.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.009758, allocations: 0 / 332.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.009824, allocations: 15.92 kB / 332.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.009834, allocations: 4 kB / 332.2 MB, free: 7.984 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 0.0003213/0.01016, allocations: 137.8 kB / 332.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01019, allocations: 27.81 kB / 332.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.01045, allocations: 220.5 kB / 332.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01045, allocations: 7.969 kB / 332.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01046, allocations: 0 / 332.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01046, allocations: 0 / 332.6 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.01067, allocations: 260.5 kB / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01067, allocations: 0 / 332.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.01085, allocations: 63.89 kB / 332.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01085, allocations: 4 kB / 332.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01087, allocations: 7.984 kB / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01087, allocations: 0 / 332.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01087, allocations: 3.938 kB / 332.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.01123, allocations: 387.1 kB / 333.3 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.01127, allocations: 31.86 kB / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.01129, allocations: 4 kB / 333.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.01138, allocations: 7.984 kB / 333.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.01142, allocations: 15.92 kB / 333.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01142, allocations: 11.98 kB / 333.4 MB, free: 6.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.01158, allocations: 247 kB / 333.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01158, allocations: 4 kB / 333.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000183/0.01177, allocations: 44 kB / 333.6 MB, free: 6.457 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.0005973/0.01236, allocations: 0.9221 MB / 334.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.0126, allocations: 144 kB / 334.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0126, allocations: 0 / 334.7 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.0127, allocations: 83.91 kB / 334.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.013, allocations: 42.14 kB / 334.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.01568, allocations: 2.987 MB / 337.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.0158, allocations: 159.5 kB / 338 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.232e-05/0.01589, allocations: 34.28 kB / 338 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.01603, allocations: 104.4 kB / 338.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.01604, allocations: 0 / 338.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.03742, allocations: 6.571 MB / 344.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/6.841, allocations: 11.86 kB / 344.7 MB, free: 11.48 MB / 314.7 MB " [Timeout remaining time 653] (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/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_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: 8.558835608884692]