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.001306/0.001306, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001311/0.001311, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.335/1.335, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001409/0.001409, allocations: 43.94 kB / 371.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.235, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003153/0.2381, allocations: 1.984 MB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.239, allocations: 0.5146 MB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.2391, allocations: 7.938 kB / 425.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.2392, allocations: 23.67 kB / 425.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.2395, allocations: 79.47 kB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2397, allocations: 63.84 kB / 426 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.24, allocations: 255.1 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2401, allocations: 44.86 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2403, allocations: 115.4 kB / 426.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.2405, allocations: 127.3 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.2405, allocations: 20 kB / 426.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.2405, allocations: 20 kB / 426.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.2406, allocations: 71.61 kB / 426.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.2407, allocations: 91.39 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.241, allocations: 246.7 kB / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.241, allocations: 0 / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.241, allocations: 0 / 427 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.241, allocations: 0 / 427 MB, free: 10.73 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.001039/0.2421, allocations: 0.5357 MB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2421, allocations: 8.031 kB / 427.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.917e-05/0.2421, allocations: 8.125 kB / 427.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.2422, allocations: 42.73 kB / 427.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.2422, allocations: 32.7 kB / 427.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.2426, allocations: 254.3 kB / 427.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2426, allocations: 19.98 kB / 427.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.2426, allocations: 19.89 kB / 427.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2429, allocations: 117.6 kB / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2429, allocations: 0 / 428 MB, free: 9.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2429, allocations: 4 kB / 428 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2429, allocations: 4 kB / 428.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.2431, allocations: 75.95 kB / 428.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007648/0.2438, allocations: 459.5 kB / 428.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.2443, allocations: 186.6 kB / 428.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2445, allocations: 52.84 kB / 428.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2445, allocations: 4 kB / 428.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2445, allocations: 30.56 kB / 428.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2445, allocations: 4 kB / 428.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00145/0.246, allocations: 0.5963 MB / 429.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.246, allocations: 55.41 kB / 429.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.2464, allocations: 328.6 kB / 429.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.2464, allocations: 29.7 kB / 429.8 MB, free: 7.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2465, allocations: 164.4 kB / 430 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.2466, allocations: 63.44 kB / 430.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.2467, allocations: 37.7 kB / 430.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2468, allocations: 338.8 kB / 430.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.247, allocations: 63.97 kB / 430.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2471, allocations: 62.03 kB / 430.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.2473, allocations: 142.7 kB / 430.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2473, allocations: 0 / 430.7 MB, free: 6.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003671/0.2477, allocations: 221.3 kB / 430.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2477, allocations: 8 kB / 430.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2477, allocations: 0 / 430.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2477, allocations: 7.938 kB / 430.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.248, allocations: 51.97 kB / 431 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.248, allocations: 3.984 kB / 431 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.2482, allocations: 11.94 kB / 431 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2482, allocations: 4 kB / 431 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.0001279/0.2483, allocations: 133.8 kB / 431.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.2484, allocations: 35.8 kB / 431.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.2488, allocations: 227 kB / 431.4 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2488, allocations: 11.88 kB / 431.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2488, allocations: 3.938 kB / 431.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2488, allocations: 0 / 431.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2492, allocations: 252.6 kB / 431.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.2492, allocations: 3.984 kB / 431.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.2495, allocations: 59.95 kB / 431.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2495, allocations: 0 / 431.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2496, allocations: 8 kB / 431.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2496, allocations: 3.938 kB / 431.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2496, allocations: 0 / 431.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.2501, allocations: 387.2 kB / 432.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.2502, allocations: 31.84 kB / 432.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.2502, allocations: 8 kB / 432.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2504, allocations: 11.94 kB / 432.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2505, allocations: 15.88 kB / 432.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.2505, allocations: 4 kB / 432.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2508, allocations: 243.1 kB / 432.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2508, allocations: 4 kB / 432.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.251, allocations: 51.98 kB / 432.5 MB, free: 4.984 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.0009069/0.252, allocations: 0.9187 MB / 433.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.2523, allocations: 154.8 kB / 433.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2523, allocations: 0 / 433.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.2525, allocations: 87.89 kB / 433.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.2528, allocations: 40.8 kB / 433.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.2568, allocations: 3.062 MB / 436.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.257, allocations: 155.3 kB / 436.9 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2571, allocations: 42.25 kB / 436.9 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2573, allocations: 91.41 kB / 437 MB, free: 336 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2573, allocations: 3.938 kB / 437 MB, free: 332 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.2838, allocations: 6.042 MB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.33, allocations: 11.62 kB / 443.1 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.716320944018662]