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.001221/0.001222, allocations: 105 kB / 16.45 MB, free: 6.48 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.001738/0.001738, allocations: 188.6 kB / 17.38 MB, free: 5.691 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.684/1.684, 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.08052/0.08052, 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.001899/0.001899, allocations: 85.94 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1261, allocations: 49.41 MB / 443.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003379/0.1295, allocations: 2.09 MB / 445.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1307, allocations: 0.6011 MB / 446.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1309, allocations: 4 kB / 446.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1311, allocations: 27.61 kB / 446.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1314, allocations: 67.42 kB / 446.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1317, allocations: 67.91 kB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.1321, allocations: 255.1 kB / 446.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.1324, allocations: 60.64 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1325, allocations: 99.52 kB / 446.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1328, allocations: 139.2 kB / 447 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1329, allocations: 20 kB / 447 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/0.1329, allocations: 20 kB / 447 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.133, allocations: 63.73 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1332, allocations: 119.1 kB / 447.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.1335, allocations: 231 kB / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1335, allocations: 0 / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1335, allocations: 0 / 447.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1335, allocations: 4 kB / 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.001291/0.1348, allocations: 0.5994 MB / 448 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1349, allocations: 8.031 kB / 448 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1349, allocations: 36.56 kB / 448.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.1353, allocations: 312 kB / 448.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1354, allocations: 12.12 kB / 448.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1354, allocations: 15.91 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1357, allocations: 121.6 kB / 448.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1357, allocations: 4 kB / 448.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1357, allocations: 11.94 kB / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1358, allocations: 0 / 448.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.1359, allocations: 83.89 kB / 448.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.1368, allocations: 0.5236 MB / 449.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.1373, allocations: 174.8 kB / 449.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.1374, allocations: 56.84 kB / 449.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1375, allocations: 11.81 kB / 449.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1375, allocations: 38.56 kB / 449.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1375, allocations: 0 / 449.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001509/0.139, allocations: 0.6613 MB / 450.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1391, allocations: 55.41 kB / 450.1 MB, free: 9.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.1395, allocations: 336.6 kB / 450.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1395, allocations: 29.7 kB / 450.5 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1396, allocations: 156.3 kB / 450.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.1397, allocations: 63.09 kB / 450.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.1398, allocations: 37.7 kB / 450.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1399, allocations: 342.8 kB / 451.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1401, allocations: 67.92 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1402, allocations: 59.97 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1405, allocations: 145.1 kB / 451.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1405, allocations: 0 / 451.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003544/0.1408, allocations: 213.1 kB / 451.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1409, allocations: 8 kB / 451.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.1409, allocations: 4 kB / 451.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1409, allocations: 0 / 451.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.1412, allocations: 63.89 kB / 451.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1412, allocations: 7.938 kB / 451.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.1414, allocations: 8 kB / 451.6 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1414, allocations: 8 kB / 451.7 MB, free: 8.102 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.0001245/0.1415, allocations: 125.8 kB / 451.8 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.1416, allocations: 27.62 kB / 451.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.142, allocations: 224.6 kB / 452 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.142, allocations: 0 / 452 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.142, allocations: 3.938 kB / 452 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1421, allocations: 4 kB / 452 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.1424, allocations: 329.3 kB / 452.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1424, allocations: 0 / 452.4 MB, free: 7.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1428, allocations: 55.95 kB / 452.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1428, allocations: 0 / 452.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1429, allocations: 11.98 kB / 452.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1429, allocations: 0 / 452.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1429, allocations: 7.938 kB / 452.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.1435, allocations: 391 kB / 452.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.1436, allocations: 104.9 kB / 452.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1436, allocations: 7.984 kB / 452.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1438, allocations: 4 kB / 452.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.1438, allocations: 15.92 kB / 452.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1439, allocations: 11.98 kB / 452.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002681/0.1441, allocations: 251 kB / 453.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1442, allocations: 0 / 453.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1444, 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.0001309/0.1446, allocations: 95.19 kB / 453.3 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003721/0.1449, allocations: 155.8 kB / 453.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.145, allocations: 0 / 453.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1451, allocations: 95.83 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.0003975/0.1455, allocations: 35.98 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.001347/0.1469, allocations: 0.7187 MB / 454.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.1472, allocations: 0.7713 MB / 455.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1474, allocations: 34.27 kB / 455.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.1475, allocations: 19.44 kB / 455.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1475, allocations: 0 / 455.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006871/0.1543, allocations: 2.892 MB / 458 MB, free: 1.535 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