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.001087/0.001087, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002685, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006833/0.0006833, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001639, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9395/0.9395, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08808/1.028, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.578e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003059/0.003075, allocations: 2.251 MB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000769/0.003844, allocations: 0.6158 MB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003944, allocations: 0 / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.004013, allocations: 31.59 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.004168, allocations: 79.41 kB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.004372, allocations: 71.78 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.004598, allocations: 282.9 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004706, allocations: 62.81 kB / 248.6 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.004971, allocations: 240.5 kB / 248.8 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005083, allocations: 99.61 kB / 248.9 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.005112, allocations: 20 kB / 248.9 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.587e-05/0.005138, allocations: 23.94 kB / 249 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.005188, allocations: 51.8 kB / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.005246, allocations: 55.81 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.005407, allocations: 155.2 kB / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.005414, allocations: 0 / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005415, allocations: 0 / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.005423, allocations: 4 kB / 249.2 MB, free: 9.512 MB / 250.7 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.0006183/0.006041, allocations: 0.5537 MB / 249.8 MB, free: 8.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.00607, allocations: 8.625 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.006118, allocations: 32.91 kB / 249.8 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.006332, allocations: 222.7 kB / 250 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.006343, allocations: 12.66 kB / 250 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.006372, allocations: 16.33 kB / 250.1 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.006668, allocations: 289.9 kB / 250.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.006674, allocations: 4 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006684, allocations: 4 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00669, allocations: 4 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.006737, allocations: 27.98 kB / 250.4 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.007062, allocations: 305 kB / 250.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.007351, allocations: 209.3 kB / 250.9 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.67e-05/0.007418, allocations: 78.61 kB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.007437, allocations: 4 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.007459, allocations: 46.48 kB / 251 MB, free: 7.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.00746, allocations: 0 / 251 MB, free: 7.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001135/0.008595, allocations: 0.8419 MB / 251.8 MB, free: 6.684 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.008682, allocations: 147.5 kB / 252 MB, free: 6.516 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.008841, allocations: 267 kB / 252.2 MB, free: 6.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.00886, allocations: 33.7 kB / 252.3 MB, free: 6.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.0089, allocations: 117.7 kB / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.008928, allocations: 39.7 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.008961, allocations: 33.7 kB / 252.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.009038, allocations: 350.8 kB / 252.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.009054, allocations: 8 kB / 252.8 MB, free: 5.645 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.009095, allocations: 66.84 kB / 252.9 MB, free: 5.555 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.009169, allocations: 93.53 kB / 253 MB, free: 5.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.00917, allocations: 0 / 253 MB, free: 5.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001057/0.009275, allocations: 117.5 kB / 253.1 MB, free: 5.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.009285, allocations: 4 kB / 253.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00929, allocations: 7.984 kB / 253.1 MB, free: 5.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.009301, allocations: 4 kB / 253.1 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.009376, allocations: 31.98 kB / 253.1 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.009382, allocations: 11.88 kB / 253.1 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.009435, allocations: 11.95 kB / 253.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.009442, allocations: 4.219 kB / 253.2 MB, free: 5.242 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.603e-05/0.009528, allocations: 132.6 kB / 253.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.009694, allocations: 165.4 kB / 253.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.009908, allocations: 220.4 kB / 253.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.009913, allocations: 7.984 kB / 253.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.009916, allocations: 3.938 kB / 253.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.009922, allocations: 7.984 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.01009, allocations: 129.8 kB / 253.8 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01009, allocations: 4 kB / 253.8 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.01048, allocations: 160.1 kB / 254 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.01052, allocations: 31.77 kB / 254 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01052, allocations: 4 kB / 254 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.01054, allocations: 8 kB / 254 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.01054, allocations: 11.92 kB / 254 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01054, allocations: 0 / 254 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01069, allocations: 267 kB / 254.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01072, allocations: 11.94 kB / 254.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.01082, allocations: 12 kB / 254.3 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.01084, allocations: 7.922 kB / 254.3 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01086, allocations: 12 kB / 254.3 MB, free: 4.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.01094, allocations: 112.6 kB / 254.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01094, allocations: 0 / 254.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001926/0.01113, allocations: 48 kB / 254.5 MB, free: 3.852 MB / 250.7 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 7.247e-05/0.0112, allocations: 92.33 kB / 254.6 MB, free: 3.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.01135, allocations: 112.8 kB / 254.7 MB, free: 3.641 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.01136, allocations: 4 kB / 254.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.01139, allocations: 32.77 kB / 254.7 MB, free: 3.602 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.01182, allocations: 370.6 kB / 255.1 MB, free: 3.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.01332, allocations: 0.6543 MB / 255.7 MB, free: 2.504 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.595e-05/0.01339, allocations: 121.1 kB / 255.9 MB, free: 2.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.01344, allocations: 26.97 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.01356, allocations: 95.3 kB / 256 MB, free: 2.25 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01356, allocations: 0 / 256 MB, free: 2.25 MB / 250.7 MB Notification: Performance of Templates: time 0.005358/0.01891, allocations: 3.82 MB / 259.8 MB, free: 14.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.42513051815331]