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.002007/0.002007, allocations: 106.1 kB / 16.45 MB, free: 6.387 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.002739/0.002739, allocations: 193.8 kB / 17.39 MB, free: 5.672 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.624/1.624, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07906/0.07906, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.001914/0.001914, allocations: 91.25 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 49.4 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003546/0.1207, allocations: 2.09 MB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.122, allocations: 0.5933 MB / 446.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.1223, allocations: 3.938 kB / 446.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.1224, allocations: 23.67 kB / 446.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1228, allocations: 87.39 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.1231, allocations: 51.94 kB / 446.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.1234, allocations: 267 kB / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1236, allocations: 52.73 kB / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1238, allocations: 107.4 kB / 446.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1241, allocations: 135.2 kB / 447 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.1241, allocations: 20 kB / 447 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.1242, allocations: 24 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1243, allocations: 63.69 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1244, allocations: 115.1 kB / 447.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.1248, allocations: 235 kB / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1248, allocations: 0 / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1248, allocations: 4 kB / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1249, allocations: 0 / 447.4 MB, free: 12.61 MB / 334.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.001346/0.1262, allocations: 0.5994 MB / 448 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.965e-05/0.1263, allocations: 8.031 kB / 448 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.1264, allocations: 32.56 kB / 448.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.1269, allocations: 316 kB / 448.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1269, allocations: 12.12 kB / 448.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.255e-05/0.127, allocations: 19.84 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.1273, allocations: 133.5 kB / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1273, allocations: 3.938 kB / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1273, allocations: 4 kB / 448.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1274, allocations: 7.984 kB / 448.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1276, allocations: 75.97 kB / 448.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009187/0.1285, allocations: 0.5197 MB / 449.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.1291, allocations: 174.7 kB / 449.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.1292, allocations: 60.83 kB / 449.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1293, allocations: 11.94 kB / 449.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1293, allocations: 30.56 kB / 449.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1293, allocations: 0 / 449.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001649/0.131, allocations: 0.6651 MB / 450.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.131, allocations: 51.41 kB / 450.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.1314, allocations: 340.5 kB / 450.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1315, allocations: 33.7 kB / 450.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1316, allocations: 152.3 kB / 450.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.1317, allocations: 63.09 kB / 450.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.1317, allocations: 33.72 kB / 450.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1319, allocations: 346.8 kB / 451.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.132, allocations: 59.91 kB / 451.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1322, allocations: 71.91 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.1325, allocations: 137.2 kB / 451.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1325, allocations: 0 / 451.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003582/0.1328, allocations: 213.2 kB / 451.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1329, allocations: 4 kB / 451.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1329, allocations: 0 / 451.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1329, allocations: 11.98 kB / 451.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.1332, allocations: 55.91 kB / 451.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1332, allocations: 3.938 kB / 451.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1334, allocations: 11.98 kB / 451.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1334, allocations: 4 kB / 451.6 MB, free: 8.109 MB / 334.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.0001589/0.1336, allocations: 129.8 kB / 451.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.1336, allocations: 27.62 kB / 451.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.1341, allocations: 228.5 kB / 452 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1341, allocations: 3.984 kB / 452 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.1341, allocations: 7.938 kB / 452 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1342, allocations: 3.938 kB / 452 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1346, allocations: 329.3 kB / 452.4 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1346, allocations: 3.938 kB / 452.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.135, allocations: 59.89 kB / 452.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.135, allocations: 0 / 452.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.135, allocations: 8 kB / 452.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1351, allocations: 4 kB / 452.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1351, allocations: 3.938 kB / 452.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.1357, allocations: 387 kB / 452.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.1358, allocations: 100.9 kB / 452.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.1358, allocations: 4 kB / 452.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.136, allocations: 8 kB / 452.9 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.1361, allocations: 19.91 kB / 452.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1361, allocations: 8 kB / 453 MB, free: 6.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1364, allocations: 247.1 kB / 453.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1364, allocations: 0 / 453.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1367, allocations: 48 kB / 453.2 MB, free: 6.406 MB / 334.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.0001411/0.1369, allocations: 99.17 kB / 453.3 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.1372, allocations: 159.8 kB / 453.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1373, allocations: 4 kB / 453.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1374, allocations: 83.91 kB / 453.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1378, allocations: 35.77 kB / 453.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1393, allocations: 0.7226 MB / 454.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1397, allocations: 0.7675 MB / 455.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1398, allocations: 26.28 kB / 455.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.1399, allocations: 31.42 kB / 455.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1399, allocations: 0 / 455.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of Templates: time 0.008405/0.1484, allocations: 2.79 MB / 458 MB, free: 1.633 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches