Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005013/0.006069, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.00267, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9698/0.9698, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08404/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.328e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.002203/0.002216, allocations: 2.259 MB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008226/0.003039, allocations: 0.6079 MB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003143, allocations: 4 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.258e-05/0.003205, allocations: 27.61 kB / 247.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.003357, allocations: 87.33 kB / 247.7 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.003598, allocations: 71.73 kB / 247.8 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.003844, allocations: 279 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003951, allocations: 58.81 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.00423, allocations: 244.5 kB / 248.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.004353, allocations: 107.5 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.004383, allocations: 20 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.004409, allocations: 20 kB / 248.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.00446, allocations: 39.81 kB / 248.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.004518, allocations: 63.8 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.004679, allocations: 155.2 kB / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.004688, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004688, allocations: 0 / 248.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.004695, allocations: 4 kB / 248.7 MB, free: 10.18 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.0005937/0.005289, allocations: 0.5536 MB / 249.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.005316, allocations: 12.03 kB / 249.3 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.005362, allocations: 32.91 kB / 249.3 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.005571, allocations: 218.7 kB / 249.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.005581, allocations: 12.66 kB / 249.5 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.005608, allocations: 16.33 kB / 249.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.005882, allocations: 286 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.005889, allocations: 4 kB / 249.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005899, allocations: 4 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.005905, allocations: 4 kB / 249.9 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.005954, allocations: 36.72 kB / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.006248, allocations: 301.1 kB / 250.2 MB, free: 8.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.006531, allocations: 214.8 kB / 250.4 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.006597, allocations: 78.69 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.006618, allocations: 4 kB / 250.5 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.006638, allocations: 46.5 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.00664, allocations: 0 / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.001147/0.007787, allocations: 0.8327 MB / 251.4 MB, free: 7.355 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.007861, allocations: 147.2 kB / 251.5 MB, free: 7.188 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.008009, allocations: 267 kB / 251.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.00803, allocations: 37.7 kB / 251.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.008073, allocations: 113.7 kB / 251.9 MB, free: 6.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.008102, allocations: 35.67 kB / 251.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.008139, allocations: 37.69 kB / 252 MB, free: 6.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.008227, allocations: 342.8 kB / 252.3 MB, free: 6.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.008244, allocations: 16.02 kB / 252.3 MB, free: 6.316 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.008288, allocations: 73.59 kB / 252.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/0.008358, allocations: 89.53 kB / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008359, allocations: 0 / 252.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001206/0.00848, allocations: 117.5 kB / 252.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.008492, allocations: 6.344 kB / 252.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.008497, allocations: 4 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008511, allocations: 4 kB / 252.6 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.00859, allocations: 39.92 kB / 252.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.008596, allocations: 11.92 kB / 252.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.008648, allocations: 7.953 kB / 252.7 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.008656, allocations: 8.219 kB / 252.7 MB, free: 5.91 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.96e-05/0.008746, allocations: 136.5 kB / 252.8 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.008916, allocations: 158.2 kB / 253 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.00913, allocations: 224.8 kB / 253.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.009133, allocations: 4 kB / 253.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.009135, allocations: 3.938 kB / 253.2 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.009141, allocations: 7.984 kB / 253.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.009299, allocations: 129.8 kB / 253.3 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.009301, allocations: 7.938 kB / 253.3 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.009709, allocations: 163.9 kB / 253.5 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.009743, allocations: 39.88 kB / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.009746, allocations: 0 / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.009762, allocations: 12 kB / 253.5 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.009766, allocations: 7.938 kB / 253.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009768, allocations: 3.984 kB / 253.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.009909, allocations: 254.5 kB / 253.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.009941, allocations: 15.98 kB / 253.8 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.01004, allocations: 8 kB / 253.8 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01006, allocations: 3.938 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.01008, allocations: 15.98 kB / 253.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.01015, allocations: 116.5 kB / 254 MB, free: 4.562 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01015, allocations: 0 / 254 MB, free: 4.562 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01035, allocations: 48 kB / 254 MB, free: 4.516 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 8.091e-05/0.01043, allocations: 96.33 kB / 254.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01057, allocations: 112.4 kB / 254.2 MB, free: 4.301 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.01058, allocations: 8 kB / 254.2 MB, free: 4.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.01061, allocations: 24.83 kB / 254.2 MB, free: 4.266 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.01102, allocations: 370.9 kB / 254.6 MB, free: 3.859 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.01253, allocations: 0.6582 MB / 255.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/0.0126, allocations: 113.1 kB / 255.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.01265, allocations: 30.97 kB / 255.4 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01276, allocations: 99.36 kB / 255.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01276, allocations: 0 / 255.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of Templates: time 0.005657/0.01842, allocations: 3.804 MB / 259.3 MB, free: 15.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5835812631994486]