Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 177.6 kB / 16.77 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 222.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007803/0.0007802, allocations: 86.34 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06515/0.06515, allocations: 12.61 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 12 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0653/0.06568, allocations: 50.39 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001516/0.06723, allocations: 1.718 MB / 444.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.0679, allocations: 0.5742 MB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.068, allocations: 0 / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.567e-05/0.0681, allocations: 11.86 kB / 445.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.06831, allocations: 63.48 kB / 445.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.06844, allocations: 39.95 kB / 445.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.06865, allocations: 243.1 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.06877, allocations: 52.7 kB / 445.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.68e-05/0.06887, allocations: 91.45 kB / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.06899, allocations: 119.4 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.06903, allocations: 8 kB / 445.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.06907, allocations: 16 kB / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.06912, allocations: 47.7 kB / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.0692, allocations: 125 kB / 446.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.06932, allocations: 163.8 kB / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.06933, allocations: 0 / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06933, allocations: 0 / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.06934, allocations: 0 / 446.2 MB, free: 12.84 MB / 298.7 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.0007699/0.07012, allocations: 0.5645 MB / 446.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.07015, allocations: 12.03 kB / 446.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.07021, allocations: 36.47 kB / 446.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.07046, allocations: 308.1 kB / 447.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.07048, allocations: 12.12 kB / 447.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.07052, allocations: 12 kB / 447.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.07072, allocations: 133.5 kB / 447.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.07074, allocations: 0 / 447.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.07076, allocations: 4 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.07077, allocations: 8 kB / 447.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.07093, allocations: 87.89 kB / 447.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.07155, allocations: 0.5198 MB / 447.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.07197, allocations: 178.7 kB / 448.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.07208, allocations: 60.84 kB / 448.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.07211, allocations: 7.938 kB / 448.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.07213, allocations: 38.48 kB / 448.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.07214, allocations: 3.938 kB / 448.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001195/0.07334, allocations: 0.6691 MB / 448.9 MB, free: 9.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.07337, allocations: 51.41 kB / 448.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.07364, allocations: 340.5 kB / 449.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.07367, allocations: 33.7 kB / 449.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.07373, allocations: 152.3 kB / 449.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.07378, allocations: 71.09 kB / 449.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.07379, allocations: 0 / 449.5 MB, free: 9.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.07385, allocations: 342.8 kB / 449.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.07396, allocations: 67.91 kB / 449.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.07408, allocations: 63.91 kB / 450 MB, free: 8.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.07431, allocations: 152.8 kB / 450.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.07432, allocations: 0 / 450.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002868/0.07461, allocations: 209.2 kB / 450.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.07463, allocations: 4 kB / 450.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.07464, allocations: 4 kB / 450.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.07466, allocations: 3.984 kB / 450.3 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.07492, allocations: 55.91 kB / 450.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.07494, allocations: 11.94 kB / 450.4 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.07508, allocations: 15.92 kB / 450.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.0751, allocations: 4 kB / 450.4 MB, free: 8.375 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/0.07519, allocations: 129.6 kB / 450.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.07524, allocations: 31.62 kB / 450.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.07559, allocations: 230.1 kB / 450.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.0756, allocations: 3.984 kB / 450.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.07561, allocations: 7.938 kB / 450.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.07562, allocations: 0 / 450.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.07587, allocations: 317.4 kB / 451.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.07587, allocations: 0 / 451.1 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.0762, allocations: 59.95 kB / 451.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.07621, allocations: 4 kB / 451.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.07624, allocations: 4 kB / 451.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.07624, allocations: 4 kB / 451.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.07625, allocations: 7.938 kB / 451.2 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.07668, allocations: 393.7 kB / 451.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.07674, allocations: 108.7 kB / 451.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.07679, allocations: 8.188 kB / 451.7 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.07696, allocations: 16 kB / 451.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.07701, allocations: 15.91 kB / 451.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.07703, allocations: 4 kB / 451.7 MB, free: 6.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.07722, allocations: 247.1 kB / 452 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07722, allocations: 0 / 452 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.07747, allocations: 44 kB / 452 MB, free: 6.676 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.844e-05/0.07755, allocations: 107.1 kB / 452.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.07783, allocations: 156.5 kB / 452.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.07784, allocations: 0 / 452.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.07797, allocations: 83.91 kB / 452.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.07833, allocations: 37.22 kB / 452.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.07938, allocations: 0.8749 MB / 453.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.07953, allocations: 0.7716 MB / 454 MB, free: 4.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.07962, allocations: 31.36 kB / 454.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.07963, allocations: 0 / 454.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of Templates: time 0.00351/0.08314, allocations: 3.059 MB / 457.1 MB, free: 1.488 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches