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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 103 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 198.5 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009951/0.0009951, allocations: 43.94 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2595, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003282/0.2629, allocations: 2.074 MB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.2639, allocations: 0.5457 MB / 404.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.264, allocations: 0 / 404.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.2641, allocations: 23.67 kB / 404.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.2644, allocations: 83.42 kB / 404.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2646, allocations: 55.91 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.2649, allocations: 259 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2651, allocations: 60.69 kB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2652, allocations: 103.5 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2654, allocations: 143.2 kB / 404.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2655, allocations: 20 kB / 404.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.2655, allocations: 20 kB / 404.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.2656, allocations: 55.7 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.2657, allocations: 123.2 kB / 405 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.266, allocations: 240.1 kB / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.266, allocations: 0 / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.266, allocations: 0 / 405.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.266, allocations: 0 / 405.2 MB, free: 5.051 MB / 318.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.001027/0.2671, allocations: 0.6033 MB / 405.8 MB, free: 4.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2671, allocations: 8.031 kB / 405.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.2672, allocations: 28.56 kB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.2675, allocations: 308 kB / 406.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2676, allocations: 12.12 kB / 406.2 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.2676, allocations: 19.94 kB / 406.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.2679, allocations: 121.6 kB / 406.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2679, allocations: 0 / 406.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2679, allocations: 4 kB / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2679, allocations: 0 / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2681, allocations: 83.89 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.2689, allocations: 0.5236 MB / 406.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.2694, allocations: 170.8 kB / 407.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2695, allocations: 68.77 kB / 407.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.2696, allocations: 11.92 kB / 407.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2696, allocations: 38.5 kB / 407.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2696, allocations: 0 / 407.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001505/0.2711, allocations: 0.6605 MB / 407.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2712, allocations: 51.41 kB / 407.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.2715, allocations: 336.6 kB / 408.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2716, allocations: 29.7 kB / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.2717, allocations: 156.2 kB / 408.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.2717, allocations: 67.08 kB / 408.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.2718, allocations: 41.7 kB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2719, allocations: 338.8 kB / 408.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2721, allocations: 59.91 kB / 408.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2722, allocations: 65.66 kB / 409 MB, free: 1.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.2725, allocations: 139.1 kB / 409.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2725, allocations: 0 / 409.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003585/0.2729, allocations: 213.2 kB / 409.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2729, allocations: 11.98 kB / 409.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2729, allocations: 0 / 409.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2729, allocations: 4 kB / 409.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.2732, allocations: 55.97 kB / 409.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2732, allocations: 3.938 kB / 409.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.2734, allocations: 15.92 kB / 409.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2734, allocations: 4 kB / 409.4 MB, free: 0.5781 MB / 318.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.00014/0.2736, allocations: 129.8 kB / 409.5 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.2736, allocations: 27.72 kB / 409.6 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.2741, allocations: 224.5 kB / 409.8 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2741, allocations: 4 kB / 409.8 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2741, allocations: 0 / 409.8 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.2742, allocations: 104.7 kB / 409.9 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.2742, allocations: 8 kB / 409.9 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2744, allocations: 15.92 kB / 409.9 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.2745, allocations: 7.984 kB / 409.9 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009555/0.2755, allocations: 336.7 kB / 410.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006083/0.2761, allocations: 476.4 kB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001491/0.2762, allocations: 80.02 kB / 410.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.2765, allocations: 243.1 kB / 411 MB, free: 14.89 MB / 334.1 MB Notification: Performance of Backend: time 5.21e-07/0.2765, allocations: 0 / 411 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.2771, allocations: 188.9 kB / 411.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of SimCode: time 0.001272/0.2784, allocations: 1.122 MB / 412.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.006828/0.2852, allocations: 3.158 MB / 415.5 MB, free: 10.43 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/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) Reference file matches