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.001137/0.001137, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.418/1.418, allocations: 205.4 MB / 223 MB, free: 9.012 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.0009387/0.000939, allocations: 93.48 kB / 271.3 MB, free: 8.246 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.1075/0.1075, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006245, allocations: 15.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002629/0.1206, allocations: 1.778 MB / 445.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1218, allocations: 0.5818 MB / 446.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.122, allocations: 7.938 kB / 446.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1221, allocations: 15.86 kB / 446.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.1225, allocations: 59.5 kB / 446.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1227, allocations: 51.94 kB / 446.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1231, allocations: 251.1 kB / 446.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1233, allocations: 56.97 kB / 446.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1234, allocations: 91.45 kB / 446.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1236, allocations: 131.2 kB / 446.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.1237, allocations: 8 kB / 446.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.1238, allocations: 12 kB / 446.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1239, allocations: 51.69 kB / 446.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.124, allocations: 132.8 kB / 446.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1243, allocations: 163.5 kB / 447.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1243, allocations: 0 / 447.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1243, allocations: 0 / 447.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1243, allocations: 0 / 447.1 MB, free: 12.04 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.001177/0.1255, allocations: 0.5723 MB / 447.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1256, allocations: 12.03 kB / 447.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.1257, allocations: 32.47 kB / 447.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.1261, allocations: 304.1 kB / 448 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1261, allocations: 24.06 kB / 448 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.1262, allocations: 12 kB / 448 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.1265, allocations: 130.3 kB / 448.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1266, allocations: 0 / 448.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1266, allocations: 4 kB / 448.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1266, allocations: 4 kB / 448.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1269, allocations: 83.95 kB / 448.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.128, allocations: 0.5197 MB / 448.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.1287, allocations: 186.7 kB / 448.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1289, allocations: 64.81 kB / 449 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.1289, allocations: 7.938 kB / 449 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.129, allocations: 34.56 kB / 449 MB, free: 9.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.129, allocations: 0 / 449 MB, free: 9.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001988/0.131, allocations: 0.6705 MB / 449.7 MB, free: 9.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.131, allocations: 59.34 kB / 449.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.1315, allocations: 340.5 kB / 450.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1315, allocations: 29.64 kB / 450.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1316, allocations: 152.4 kB / 450.3 MB, free: 8.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.1317, allocations: 67.08 kB / 450.3 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.1318, allocations: 4 kB / 450.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.1318, allocations: 342.8 kB / 450.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.132, allocations: 63.91 kB / 450.7 MB, free: 8.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.1323, allocations: 67.91 kB / 450.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.1327, allocations: 148.8 kB / 451 MB, free: 7.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1327, allocations: 0 / 451 MB, free: 7.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005682/0.1333, allocations: 217.2 kB / 451.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1333, allocations: 8 kB / 451.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1333, allocations: 0 / 451.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1333, allocations: 0 / 451.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.1338, allocations: 63.91 kB / 451.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1338, allocations: 3.938 kB / 451.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1341, allocations: 11.98 kB / 451.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1341, allocations: 8 kB / 451.3 MB, free: 7.562 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 0.0001354/0.1343, allocations: 129.8 kB / 451.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.1344, allocations: 31.62 kB / 451.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.135, allocations: 223.1 kB / 451.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.135, allocations: 4 kB / 451.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.135, allocations: 7.938 kB / 451.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1351, allocations: 0 / 451.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.1355, allocations: 325.4 kB / 452 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1355, allocations: 4 kB / 452 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.1361, allocations: 59.89 kB / 452 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1362, allocations: 0 / 452 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.1362, allocations: 8 kB / 452 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1362, allocations: 0 / 452 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1362, allocations: 7.922 kB / 452 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.137, allocations: 391 kB / 452.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.1371, allocations: 108.8 kB / 452.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1372, allocations: 4 kB / 452.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.1375, allocations: 7.984 kB / 452.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.1376, allocations: 19.86 kB / 452.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1377, allocations: 16.06 kB / 452.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003439/0.138, allocations: 247 kB / 452.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.138, allocations: 0 / 452.8 MB, free: 5.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.1385, allocations: 48 kB / 452.9 MB, free: 5.855 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 0.0001075/0.1386, allocations: 95.25 kB / 453 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.1392, allocations: 160.4 kB / 453.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1392, allocations: 4 kB / 453.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.1394, allocations: 90.56 kB / 453.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.14, allocations: 29.08 kB / 453.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.142, allocations: 0.914 MB / 454.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1422, allocations: 0.7638 MB / 454.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1423, allocations: 27.42 kB / 454.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1424, allocations: 0 / 454.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Templates: time 0.006719/0.1491, allocations: 3.063 MB / 458 MB, free: 0.6445 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