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.00149/0.00149, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001678/0.001678, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.455/1.455, allocations: 225.6 MB / 250.8 MB, free: 13.41 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: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 51.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2528, allocations: 52.13 MB / 420.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003468/0.2562, allocations: 2.106 MB / 423 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2573, allocations: 0.5574 MB / 423.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.2574, allocations: 0 / 423.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2575, allocations: 23.67 kB / 423.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.2578, allocations: 79.42 kB / 423.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.258, allocations: 59.84 kB / 423.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.2583, allocations: 255.1 kB / 424 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.2585, allocations: 48.66 kB / 424 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.2586, allocations: 107.4 kB / 424.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.2588, allocations: 135.3 kB / 424.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.2589, allocations: 20 kB / 424.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.2589, allocations: 20 kB / 424.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.259, allocations: 67.67 kB / 424.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2591, allocations: 119.1 kB / 424.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.2594, allocations: 232.3 kB / 424.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2594, allocations: 0 / 424.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2594, allocations: 4 kB / 424.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2594, allocations: 0 / 424.7 MB, free: 11.46 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.00111/0.2605, allocations: 0.6032 MB / 425.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2606, allocations: 12.03 kB / 425.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.2606, allocations: 36.64 kB / 425.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.261, allocations: 312.3 kB / 425.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2611, allocations: 8.125 kB / 425.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.2611, allocations: 15.95 kB / 425.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2614, allocations: 129.6 kB / 425.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2614, allocations: 0 / 425.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2614, allocations: 8 kB / 425.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2614, allocations: 0 / 425.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.2616, allocations: 75.95 kB / 425.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008748/0.2624, allocations: 0.5237 MB / 426.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005157/0.263, allocations: 174.7 kB / 426.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.2631, allocations: 61.08 kB / 426.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.2631, allocations: 3.938 kB / 426.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2632, allocations: 50.5 kB / 426.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.2632, allocations: 0 / 426.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001502/0.2647, allocations: 0.6599 MB / 427.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.2647, allocations: 55.41 kB / 427.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2651, allocations: 332.6 kB / 427.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2651, allocations: 25.7 kB / 427.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.2652, allocations: 160.3 kB / 427.9 MB, free: 8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.2653, allocations: 67.42 kB / 428 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/0.2653, allocations: 37.7 kB / 428 MB, free: 7.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2655, allocations: 338.8 kB / 428.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2656, allocations: 71.84 kB / 428.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2658, allocations: 62.97 kB / 428.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.266, allocations: 144.8 kB / 428.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.266, allocations: 0 / 428.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003939/0.2664, allocations: 211.5 kB / 428.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2664, allocations: 8 kB / 428.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2664, allocations: 0 / 428.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2665, allocations: 0 / 428.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2668, allocations: 63.91 kB / 428.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2668, allocations: 3.938 kB / 428.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2669, allocations: 11.98 kB / 428.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2669, allocations: 4 kB / 428.9 MB, free: 6.977 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.0001352/0.2671, allocations: 141.7 kB / 429 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.2671, allocations: 27.81 kB / 429.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.2675, allocations: 227.6 kB / 429.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2675, allocations: 0 / 429.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2676, allocations: 3.938 kB / 429.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2676, allocations: 0 / 429.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.2679, allocations: 325.4 kB / 429.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2679, allocations: 0 / 429.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.2683, allocations: 59.89 kB / 429.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2683, allocations: 0 / 429.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2683, allocations: 8 kB / 429.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2683, allocations: 0 / 429.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2683, allocations: 11.88 kB / 429.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.2689, allocations: 391.1 kB / 430.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/0.269, allocations: 112.9 kB / 430.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2691, allocations: 8 kB / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2692, allocations: 128 / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.2693, allocations: 27.91 kB / 430.2 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2693, allocations: 8 kB / 430.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.2696, allocations: 243.1 kB / 430.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2696, allocations: 0 / 430.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.2699, allocations: 48 kB / 430.5 MB, free: 5.266 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.0001422/0.27, allocations: 107.2 kB / 430.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.2704, allocations: 151.8 kB / 430.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2704, allocations: 0 / 430.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.2705, allocations: 79.91 kB / 430.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2709, allocations: 39.67 kB / 430.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2723, allocations: 0.7294 MB / 431.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.2728, allocations: 0.7673 MB / 432.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2729, allocations: 34.27 kB / 432.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.273, allocations: 19.44 kB / 432.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.273, allocations: 4 kB / 432.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of Templates: time 0.007171/0.2802, allocations: 2.838 MB / 435.3 MB, free: 0.4961 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins/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: 4.479531157761812]