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.002603/0.00261, allocations: 188.8 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.327/4.327, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.002076/0.002075, allocations: 94.78 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1955/0.1955, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009536/0.000954, allocations: 13.78 kB / 392 MB, free: 54.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2914, allocations: 50.38 MB / 442.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.004162/0.2956, allocations: 1.712 MB / 444.1 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.2979, allocations: 0.5666 MB / 444.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.2982, allocations: 0 / 444.6 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2984, allocations: 15.8 kB / 444.7 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.299, allocations: 71.69 kB / 444.7 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2993, allocations: 43.94 kB / 444.8 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.2998, allocations: 167.6 kB / 444.9 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.3, allocations: 44.91 kB / 445 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3002, allocations: 91.55 kB / 445.1 MB, free: 8.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3005, allocations: 115.4 kB / 445.2 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.3006, allocations: 12 kB / 445.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.3007, allocations: 12 kB / 445.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3008, allocations: 47.81 kB / 445.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.3009, allocations: 61.52 kB / 445.3 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.3012, allocations: 156.4 kB / 445.5 MB, free: 8.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3013, allocations: 0 / 445.5 MB, free: 8.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3013, allocations: 3.938 kB / 445.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.3013, allocations: 0 / 445.5 MB, free: 8.496 MB / 282.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.00184/0.3031, allocations: 0.5721 MB / 446 MB, free: 7.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.3032, allocations: 12.03 kB / 446 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.3034, allocations: 31.62 kB / 446.1 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.3041, allocations: 306.9 kB / 446.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3041, allocations: 4 kB / 446.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.3042, allocations: 15.91 kB / 446.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3048, allocations: 129.5 kB / 446.5 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3048, allocations: 4 kB / 446.5 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.3049, allocations: 7.984 kB / 446.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3049, allocations: 0 / 446.5 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.3054, allocations: 79.97 kB / 446.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.3193, allocations: 0.5276 MB / 447.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3205, allocations: 178.7 kB / 447.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.3206, allocations: 3.984 kB / 447.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3206, allocations: 38.56 kB / 447.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.518e-06/0.3206, allocations: 0 / 447.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.003142/0.3238, allocations: 0.6785 MB / 448 MB, free: 5.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3239, allocations: 55.39 kB / 448.1 MB, free: 5.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.3246, allocations: 336.6 kB / 448.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3247, allocations: 29.7 kB / 448.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3248, allocations: 202.8 kB / 448.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.325, allocations: 59.09 kB / 448.7 MB, free: 5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.325, allocations: 8 kB / 448.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3251, allocations: 322.8 kB / 449 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.3255, allocations: 56.36 kB / 449.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.3258, allocations: 64.72 kB / 449.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.3262, allocations: 68.92 kB / 449.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3262, allocations: 0 / 449.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009092/0.3353, allocations: 201.8 kB / 449.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.3354, allocations: 7.938 kB / 449.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3354, allocations: 0 / 449.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.3354, allocations: 0 / 449.4 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.3362, allocations: 63.95 kB / 449.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3363, allocations: 0 / 449.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3367, allocations: 4 kB / 449.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.3368, allocations: 8 kB / 449.5 MB, free: 4.199 MB / 282.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 0.0002734/0.3371, allocations: 145.5 kB / 449.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3372, allocations: 39.45 kB / 449.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/0.3382, allocations: 216.6 kB / 449.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3383, allocations: 4 kB / 449.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3383, allocations: 0 / 449.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3383, allocations: 0 / 449.9 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.3391, allocations: 329.4 kB / 450.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3392, allocations: 0 / 450.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.3402, allocations: 59.89 kB / 450.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.3403, allocations: 0 / 450.3 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.3404, allocations: 15.94 kB / 450.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.3404, allocations: 0 / 450.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3404, allocations: 0 / 450.3 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.3418, allocations: 394 kB / 450.7 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.342, allocations: 108.8 kB / 450.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.63e-05/0.3421, allocations: 4 kB / 450.8 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01265/0.3548, allocations: 15.88 kB / 450.8 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3551, allocations: 11.98 kB / 450.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3551, allocations: 12.12 kB / 450.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.3557, allocations: 247 kB / 451.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3558, allocations: 4 kB / 451.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007468/0.3565, allocations: 44 kB / 451.1 MB, free: 2.484 MB / 282.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 0.0002038/0.3568, allocations: 99.19 kB / 451.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008615/0.3577, allocations: 160.4 kB / 451.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3577, allocations: 0 / 451.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.3581, allocations: 91.89 kB / 451.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.3589, allocations: 29.05 kB / 451.5 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.3621, allocations: 0.8788 MB / 452.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3625, allocations: 0.7716 MB / 453.1 MB, free: 400 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008386/0.3709, allocations: 31.42 kB / 453.2 MB, free: 372 kB / 282.7 MB Notification: Performance of SimCode: time 1.763e-06/0.371, allocations: 4 kB / 453.2 MB, free: 368 kB / 282.7 MB Notification: Performance of Templates: time 0.03367/0.4046, allocations: 2.975 MB / 456.1 MB, free: 13.38 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/jenkins1/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