Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 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 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 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_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_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_Modelica_Synchronous.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.00101/0.00101, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 182.4 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 223.1 MB, free: 5.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06281/0.06281, allocations: 12.6 MB / 284 MB, free: 8.586 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006604, allocations: 24 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07466/0.07533, allocations: 50.38 MB / 395.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002063/0.07742, allocations: 1.779 MB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.07834, allocations: 0.5856 MB / 397.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.07848, allocations: 4 kB / 397.9 MB, free: 28 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.6e-05/0.07858, allocations: 15.81 kB / 397.9 MB, free: 12 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.07886, allocations: 59.66 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.07904, allocations: 51.94 kB / 398.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.07935, allocations: 247 kB / 398.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.07948, allocations: 52.98 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.07962, allocations: 99.38 kB / 398.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.0798, allocations: 123.3 kB / 398.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.07985, allocations: 12 kB / 398.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.897e-05/0.07988, allocations: 12 kB / 398.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.07996, allocations: 47.7 kB / 398.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.08008, allocations: 136.8 kB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.08029, allocations: 211 kB / 399 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.0803, allocations: 3.938 kB / 399 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08031, allocations: 0 / 399 MB, free: 14.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.08032, allocations: 0 / 399 MB, free: 14.97 MB / 302.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.0009273/0.08126, allocations: 0.5724 MB / 399.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.0813, allocations: 8.031 kB / 399.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.08137, allocations: 40.41 kB / 399.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.08172, allocations: 312.1 kB / 399.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.08174, allocations: 8.125 kB / 399.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.08178, allocations: 12 kB / 399.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.08203, allocations: 134.1 kB / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.08205, allocations: 0 / 400.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.08207, allocations: 11.98 kB / 400.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.08208, allocations: 4 kB / 400.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.08226, allocations: 79.95 kB / 400.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.08303, allocations: 0.5197 MB / 400.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.0835, allocations: 182.7 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.08364, allocations: 68.83 kB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.08367, allocations: 3.938 kB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.0837, allocations: 30.56 kB / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.0837, allocations: 0 / 400.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001394/0.0851, allocations: 0.6691 MB / 401.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.08515, allocations: 59.34 kB / 401.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.0855, allocations: 340.5 kB / 402 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.08553, allocations: 33.7 kB / 402 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.08562, allocations: 152.4 kB / 402.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.08568, allocations: 63.08 kB / 402.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.08572, allocations: 25.72 kB / 402.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.08583, allocations: 338.8 kB / 402.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.08598, allocations: 63.92 kB / 402.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.0861, allocations: 59.97 kB / 402.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.08637, allocations: 152.8 kB / 402.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.08638, allocations: 0 / 402.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003592/0.08674, allocations: 229.5 kB / 403.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.08677, allocations: 4 kB / 403.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.08678, allocations: 0 / 403.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.08679, allocations: 0 / 403.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.08707, allocations: 63.95 kB / 403.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.08708, allocations: 3.938 kB / 403.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.08724, allocations: 8 kB / 403.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.08727, allocations: 11.88 kB / 403.2 MB, free: 10.48 MB / 302.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.0001161/0.08739, allocations: 137.8 kB / 403.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.08745, allocations: 27.62 kB / 403.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.08786, allocations: 231.7 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.08787, allocations: 3.938 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.08788, allocations: 3.938 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.08789, allocations: 0 / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.08822, allocations: 325.4 kB / 403.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.08823, allocations: 0 / 403.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.08858, allocations: 59.95 kB / 404 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.0886, allocations: 0 / 404 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.08862, allocations: 11.98 kB / 404 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.08863, allocations: 0 / 404 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08864, allocations: 3.938 kB / 404 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.08917, allocations: 390.9 kB / 404.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.08927, allocations: 108.8 kB / 404.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.08931, allocations: 7.984 kB / 404.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.08951, allocations: 16 kB / 404.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.08956, allocations: 11.92 kB / 404.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.08958, allocations: 11.97 kB / 404.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.08983, allocations: 251.1 kB / 404.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08984, allocations: 0 / 404.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.0901, allocations: 40 kB / 404.8 MB, free: 8.77 MB / 302.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.0001042/0.09021, allocations: 99.25 kB / 404.9 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.09053, allocations: 159.9 kB / 405 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09054, allocations: 0 / 405 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.09069, allocations: 87.89 kB / 405.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.09105, allocations: 37.03 kB / 405.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.09236, allocations: 0.8851 MB / 406.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.09267, allocations: 0.7599 MB / 406.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.09277, allocations: 34.27 kB / 406.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.09287, allocations: 31.42 kB / 406.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09288, allocations: 0 / 406.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of Templates: time 0.005367/0.09825, allocations: 2.513 MB / 409.4 MB, free: 4.109 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches