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.001589/0.001589, allocations: 106 kB / 16.45 MB, free: 6.398 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.001666/0.001667, allocations: 189.4 kB / 17.38 MB, free: 5.664 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.691/1.691, allocations: 205.1 MB / 223.3 MB, free: 12.19 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.07648/0.07648, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.002037/0.002037, allocations: 89.67 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1148, allocations: 49.39 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00394/0.1188, allocations: 2.09 MB / 445.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1202, allocations: 0.5972 MB / 446.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.1205, allocations: 0 / 446.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.1207, allocations: 27.62 kB / 446.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.1211, allocations: 79.41 kB / 446.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1214, allocations: 51.92 kB / 446.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1219, allocations: 267 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1221, allocations: 56.66 kB / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1223, allocations: 107.5 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.1226, allocations: 139.2 kB / 447 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.1227, allocations: 20 kB / 447 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.1227, allocations: 24 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1229, allocations: 59.69 kB / 447.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.123, allocations: 111.2 kB / 447.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1234, allocations: 234.8 kB / 447.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1234, allocations: 0 / 447.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1234, allocations: 4 kB / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1234, 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.001375/0.1248, allocations: 0.6187 MB / 448 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1248, allocations: 8.031 kB / 448 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.125, allocations: 32.75 kB / 448.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.1255, allocations: 312.3 kB / 448.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1255, allocations: 12.12 kB / 448.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.1256, allocations: 12 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1259, allocations: 129.5 kB / 448.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1259, allocations: 3.938 kB / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.126, allocations: 8 kB / 448.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.126, allocations: 0 / 448.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.1262, allocations: 87.83 kB / 448.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1272, allocations: 0.5237 MB / 449.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.1278, allocations: 174.8 kB / 449.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1279, allocations: 61.08 kB / 449.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.128, allocations: 11.94 kB / 449.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.128, allocations: 42.5 kB / 449.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.128, allocations: 0 / 449.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001691/0.1297, allocations: 0.6577 MB / 450.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.1298, allocations: 59.39 kB / 450.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.1303, allocations: 336.6 kB / 450.5 MB, free: 9.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.1303, allocations: 29.7 kB / 450.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1304, allocations: 156.3 kB / 450.7 MB, free: 9.113 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.1305, allocations: 67.47 kB / 450.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.1306, allocations: 33.7 kB / 450.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1308, allocations: 342.8 kB / 451.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1309, allocations: 63.91 kB / 451.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.131, allocations: 63.97 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.1313, allocations: 141.1 kB / 451.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1313, allocations: 0 / 451.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003912/0.1317, allocations: 217.3 kB / 451.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1318, allocations: 7.984 kB / 451.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1318, allocations: 4 kB / 451.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1318, allocations: 4 kB / 451.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.1321, allocations: 63.89 kB / 451.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1321, allocations: 3.938 kB / 451.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1323, allocations: 11.92 kB / 451.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.1323, allocations: 8 kB / 451.7 MB, free: 8.078 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.000144/0.1325, allocations: 125.8 kB / 451.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.1325, allocations: 27.81 kB / 451.8 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.133, allocations: 240.4 kB / 452.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.133, allocations: 0 / 452.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.133, allocations: 3.938 kB / 452.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.133, allocations: 3.938 kB / 452.1 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.1334, allocations: 325.4 kB / 452.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1334, allocations: 0 / 452.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.1338, allocations: 55.95 kB / 452.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1338, allocations: 0 / 452.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1338, allocations: 8 kB / 452.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1339, allocations: 4 kB / 452.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.1339, allocations: 11.88 kB / 452.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.1345, allocations: 395.1 kB / 452.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.1346, allocations: 108.9 kB / 453 MB, free: 6.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.1347, allocations: 8 kB / 453 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1349, allocations: 4 kB / 453 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.135, allocations: 23.91 kB / 453 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.135, allocations: 4 kB / 453 MB, free: 6.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003206/0.1353, allocations: 255 kB / 453.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1353, allocations: 0 / 453.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1357, allocations: 44 kB / 453.3 MB, free: 6.359 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.0001627/0.1358, allocations: 95.19 kB / 453.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.1362, allocations: 151.9 kB / 453.5 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1363, allocations: 4 kB / 453.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1365, allocations: 83.91 kB / 453.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1369, allocations: 35.77 kB / 453.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1386, allocations: 0.7256 MB / 454.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.1392, allocations: 0.7675 MB / 455.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1394, allocations: 30.28 kB / 455.2 MB, free: 4.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1395, allocations: 31.36 kB / 455.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1395, allocations: 0 / 455.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Templates: time 0.00802/0.1475, allocations: 2.783 MB / 458 MB, free: 1.598 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