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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 174 kB / 16.76 MB, free: 5.031 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.311/1.311, allocations: 205 MB / 222.5 MB, free: 9.148 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.0007248/0.0007248, allocations: 94.34 kB / 270.5 MB, free: 8.68 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.07031/0.07031, allocations: 12.58 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07335/0.07373, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001718/0.07548, allocations: 1.794 MB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.07636, allocations: 0.5934 MB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.07654, allocations: 0 / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.07668, allocations: 23.73 kB / 444.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.07697, allocations: 63.55 kB / 444.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.07716, allocations: 47.94 kB / 444.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.07742, allocations: 251.1 kB / 444.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.07756, allocations: 53 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.0777, allocations: 91.44 kB / 444.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.07786, allocations: 123.2 kB / 444.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.07791, allocations: 12 kB / 444.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.158e-05/0.07794, allocations: 12 kB / 444.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.07802, allocations: 55.67 kB / 444.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.07811, allocations: 111.1 kB / 444.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.07829, allocations: 155.5 kB / 445.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.0783, allocations: 0 / 445.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07831, allocations: 0 / 445.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.07832, allocations: 4 kB / 445.1 MB, free: 13 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.0009104/0.07924, allocations: 0.5723 MB / 445.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.07929, allocations: 8.031 kB / 445.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.07937, allocations: 40.47 kB / 445.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.07969, allocations: 304.1 kB / 446 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.07971, allocations: 12.06 kB / 446 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.07975, allocations: 12 kB / 446 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.07998, allocations: 134.3 kB / 446.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.08, allocations: 4 kB / 446.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.08002, allocations: 4 kB / 446.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.08003, allocations: 0 / 446.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.08019, allocations: 83.95 kB / 446.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.08085, allocations: 0.5314 MB / 446.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.08128, allocations: 174.7 kB / 446.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.0814, allocations: 60.83 kB / 447 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.08143, allocations: 7.938 kB / 447 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.08145, allocations: 34.56 kB / 447 MB, free: 10.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.08146, allocations: 4 kB / 447 MB, free: 10.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001283/0.08275, allocations: 0.6691 MB / 447.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.08278, allocations: 59.28 kB / 447.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.08307, allocations: 336.6 kB / 448.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.08309, allocations: 29.7 kB / 448.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.08316, allocations: 156.4 kB / 448.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.08321, allocations: 63.09 kB / 448.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.08325, allocations: 21.72 kB / 448.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.08331, allocations: 346.7 kB / 448.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.08344, allocations: 63.91 kB / 448.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.08355, allocations: 67.91 kB / 448.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.08379, allocations: 148.8 kB / 449 MB, free: 8.824 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.0838, allocations: 0 / 449 MB, free: 8.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003014/0.08411, allocations: 217.2 kB / 449.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.08414, allocations: 4 kB / 449.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.08415, allocations: 0 / 449.2 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.08417, allocations: 7.984 kB / 449.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.08444, allocations: 55.91 kB / 449.2 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.08446, allocations: 7.938 kB / 449.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.08461, allocations: 15.98 kB / 449.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.08464, allocations: 8 kB / 449.3 MB, free: 8.508 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.885e-05/0.08473, allocations: 129.8 kB / 449.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.08478, allocations: 27.62 kB / 449.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.08515, allocations: 231.1 kB / 449.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.08516, allocations: 3.984 kB / 449.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.08517, allocations: 3.938 kB / 449.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.08518, allocations: 0 / 449.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.08546, allocations: 325.4 kB / 450 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.08547, allocations: 0 / 450 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.08581, allocations: 63.89 kB / 450 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.08583, allocations: 4 kB / 450 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.08585, allocations: 0 / 450 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.08586, allocations: 4 kB / 450.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.08587, allocations: 3.938 kB / 450.1 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.08634, allocations: 387 kB / 450.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.08641, allocations: 112.8 kB / 450.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.08646, allocations: 8 kB / 450.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.08666, allocations: 11.94 kB / 450.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.08672, allocations: 19.91 kB / 450.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.08673, allocations: 4 kB / 450.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.08693, allocations: 251.1 kB / 450.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.08694, allocations: 0 / 450.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.0872, allocations: 47.94 kB / 450.9 MB, free: 6.805 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.718e-05/0.08729, allocations: 99.23 kB / 451 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.08758, allocations: 160.4 kB / 451.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08759, allocations: 0 / 451.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.08772, allocations: 86.56 kB / 451.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.08806, allocations: 37.03 kB / 451.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.08922, allocations: 0.8392 MB / 452.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.0894, allocations: 0.7677 MB / 452.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.08949, allocations: 23.44 kB / 452.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.0895, allocations: 0 / 452.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of Templates: time 0.004402/0.09391, allocations: 3.059 MB / 455.9 MB, free: 1.672 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches