Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001371/0.001371, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001419/0.001419, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 63.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2384, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.00343/0.2419, allocations: 2.133 MB / 433.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.243, allocations: 0.5849 MB / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2431, allocations: 0 / 433.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2432, allocations: 27.61 kB / 433.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.2435, allocations: 83.39 kB / 434 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.2437, allocations: 70.98 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.2441, allocations: 279 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2442, allocations: 48.94 kB / 434.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.2444, allocations: 131.3 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2446, allocations: 131.3 kB / 434.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.2447, allocations: 24 kB / 434.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.2447, allocations: 20 kB / 434.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.2448, allocations: 63.69 kB / 434.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2449, allocations: 107.3 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.2452, allocations: 264.3 kB / 435.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2452, allocations: 4 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2452, allocations: 3.984 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2452, allocations: 3.938 kB / 435.1 MB, free: 2.48 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001059/0.2463, allocations: 0.5476 MB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2463, allocations: 11.98 kB / 435.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.2464, allocations: 46.69 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.2464, allocations: 40.69 kB / 435.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.2468, allocations: 258.7 kB / 436 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2468, allocations: 16.22 kB / 436 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.2469, allocations: 16 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.2476, allocations: 381.5 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2476, allocations: 0 / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2476, allocations: 8 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2476, allocations: 0 / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.2478, allocations: 91.89 kB / 436.5 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.2485, allocations: 464.8 kB / 436.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.2493, allocations: 310.7 kB / 437.2 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.2495, allocations: 138 kB / 437.4 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2495, allocations: 4 kB / 437.4 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.2496, allocations: 34.56 kB / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.2496, allocations: 0 / 437.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.002318/0.2519, allocations: 1.153 MB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.252, allocations: 134.7 kB / 438.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.2524, allocations: 332.6 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.2525, allocations: 29.7 kB / 439.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.2526, allocations: 153 kB / 439.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.2527, allocations: 47.84 kB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.2527, allocations: 70.14 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2529, allocations: 346.8 kB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2531, allocations: 64.83 kB / 439.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.2534, allocations: 300.7 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.2539, allocations: 403.2 kB / 440.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2539, allocations: 4 kB / 440.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006745/0.2546, allocations: 401.6 kB / 440.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2546, allocations: 8 kB / 440.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.2546, allocations: 8 kB / 440.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.2547, allocations: 15.94 kB / 440.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2549, allocations: 87.84 kB / 440.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.2549, allocations: 19.92 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.2552, allocations: 19.95 kB / 441 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.2552, allocations: 24 kB / 441 MB, free: 12.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001988/0.2554, allocations: 170.4 kB / 441.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.2559, allocations: 297.9 kB / 441.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.2566, allocations: 372.5 kB / 441.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2566, allocations: 4 kB / 441.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2566, allocations: 0 / 441.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2566, allocations: 3.984 kB / 441.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.2571, allocations: 240.6 kB / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2571, allocations: 0 / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.2576, allocations: 119.9 kB / 442.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2576, allocations: 4 kB / 442.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2576, allocations: 11.98 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.2576, allocations: 4 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2576, allocations: 0 / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2587, allocations: 0.6992 MB / 442.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.2588, allocations: 39.77 kB / 442.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.2589, allocations: 12 kB / 442.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.2591, allocations: 16.05 kB / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2592, allocations: 4 kB / 443 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.2592, allocations: 20.05 kB / 443 MB, free: 9.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002911/0.2595, allocations: 243.1 kB / 443.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2595, allocations: 0 / 443.2 MB, free: 9.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.2599, allocations: 64 kB / 443.3 MB, free: 9.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.001385/0.2613, allocations: 1.253 MB / 444.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.2619, allocations: 291.9 kB / 444.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2619, allocations: 0 / 444.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.262, allocations: 21.62 kB / 444.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.2628, allocations: 188.5 kB / 445 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.2675, allocations: 3.766 MB / 448.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2677, allocations: 197.6 kB / 449 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.2678, allocations: 39.25 kB / 449 MB, free: 3.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.268, allocations: 111.4 kB / 449.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.268, allocations: 0 / 449.1 MB, free: 3.484 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.3043, allocations: 7.798 MB / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.84, allocations: 7.375 kB / 456.9 MB, free: 11.8 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --stepSize=0.0545355 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.357435214333236]