Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.001444/0.001444, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001492/0.001492, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.395/1.395, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5501,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.406e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003566/0.0036, allocations: 2.116 MB / 269.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004784, allocations: 0.5806 MB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004891, allocations: 0 / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.005018, allocations: 31.61 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.00531, allocations: 71.42 kB / 270.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.005576, allocations: 75.77 kB / 270.2 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.005934, allocations: 290.9 kB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.006095, allocations: 49.14 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.006346, allocations: 159.5 kB / 270.7 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.006529, allocations: 111.5 kB / 270.8 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.006577, allocations: 20 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.006621, allocations: 24 kB / 270.8 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.006786, allocations: 63.67 kB / 270.9 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.006899, allocations: 83.62 kB / 271 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.00725, allocations: 255 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.007255, allocations: 3.984 kB / 271.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.007258, allocations: 8 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007263, allocations: 0 / 271.2 MB, free: 2.773 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.001148/0.008411, allocations: 0.5476 MB / 271.8 MB, free: 2.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.008451, allocations: 8.922 kB / 271.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.008555, allocations: 44.75 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.008975, allocations: 261.9 kB / 272.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.008991, allocations: 8.656 kB / 272.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.009035, allocations: 16.38 kB / 272.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.009741, allocations: 378.2 kB / 272.5 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.009754, allocations: 7.922 kB / 272.5 MB, free: 1.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.009772, allocations: 4 kB / 272.5 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.009779, allocations: 4 kB / 272.5 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.009991, allocations: 83.95 kB / 272.6 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.0107, allocations: 445.2 kB / 273 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.01144, allocations: 299.9 kB / 273.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.01168, allocations: 131.2 kB / 273.4 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.01171, allocations: 4 kB / 273.4 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.01175, allocations: 46.41 kB / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.162e-06/0.01175, allocations: 0 / 273.5 MB, free: 376 kB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.002458/0.01421, allocations: 1.154 MB / 274.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.01435, allocations: 146.5 kB / 274.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.01477, allocations: 324.6 kB / 275.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.0148, allocations: 33.7 kB / 275.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01492, allocations: 149.2 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.01497, allocations: 39.69 kB / 275.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.01504, allocations: 37.7 kB / 275.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.01522, allocations: 334.8 kB / 275.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.01532, allocations: 43.97 kB / 275.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01545, allocations: 86.84 kB / 275.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.01567, allocations: 134.7 kB / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01568, allocations: 0 / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003516/0.01603, allocations: 193.3 kB / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01605, allocations: 8 kB / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01605, allocations: 224 / 276.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.01607, allocations: 11.94 kB / 276.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.01622, allocations: 35.92 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01622, allocations: 0 / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.01636, allocations: 15.98 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01637, allocations: 4 kB / 276.2 MB, free: 13.48 MB / 266.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 0.0001629/0.01653, allocations: 145.2 kB / 276.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005305/0.01706, allocations: 297.2 kB / 276.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006865/0.01775, allocations: 380.5 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.01776, allocations: 15.94 kB / 277 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01777, allocations: 0 / 277 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01777, allocations: 0 / 277 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.01812, allocations: 205.2 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01812, allocations: 0 / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.01869, allocations: 119.8 kB / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01869, allocations: 0 / 277.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.01872, allocations: 12 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01872, allocations: 0 / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.01873, allocations: 7.938 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.02007, allocations: 0.7145 MB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.02014, allocations: 35.73 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.0202, allocations: 12.19 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.02045, allocations: 19.94 kB / 278.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.0205, allocations: 11.91 kB / 278.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.02052, allocations: 8 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003075/0.02083, allocations: 247.1 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02083, allocations: 0 / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.02118, allocations: 48 kB / 278.4 MB, free: 11.16 MB / 266.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 0.0001501/0.02133, allocations: 115.2 kB / 278.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.02176, allocations: 187.5 kB / 278.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02176, allocations: 4 kB / 278.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.02185, allocations: 31.92 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.02259, allocations: 188.8 kB / 279 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.02394, allocations: 0.6913 MB / 279.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.02418, allocations: 197.6 kB / 279.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.832e-05/0.02426, allocations: 26.97 kB / 279.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.02435, allocations: 28.48 kB / 279.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02435, allocations: 0 / 279.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of Templates: time 0.008267/0.03262, allocations: 3.532 MB / 283.4 MB, free: 6.129 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.397439545020461]