Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.0008976/0.0008976, allocations: 175.5 kB / 16.45 MB, free: 5.684 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.457/1.457, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007864/0.0007864, allocations: 98.77 kB / 270.9 MB, free: 8.352 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.06798/0.06798, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006056/0.0006058, allocations: 16 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.09992, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002246/0.1022, allocations: 1.712 MB / 444.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1033, allocations: 0.5703 MB / 444.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1034, allocations: 4 kB / 444.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1036, allocations: 11.81 kB / 444.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1039, allocations: 59.61 kB / 444.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.1041, allocations: 43.88 kB / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.1044, allocations: 231.1 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1046, allocations: 48.89 kB / 445.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1047, allocations: 99.44 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.1049, allocations: 111.4 kB / 445.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.105, allocations: 15.94 kB / 445.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.831e-05/0.105, allocations: 8 kB / 445.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.1051, allocations: 63.67 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.1052, allocations: 57.58 kB / 445.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1054, allocations: 151.9 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1054, allocations: 4 kB / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1054, allocations: 0 / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1054, allocations: 3.938 kB / 445.6 MB, free: 13.25 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.001215/0.1066, allocations: 0.5682 MB / 446.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1067, allocations: 12.03 kB / 446.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.1068, allocations: 31.53 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1072, allocations: 303.1 kB / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1072, allocations: 8 kB / 446.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1073, allocations: 15.94 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1076, allocations: 125.5 kB / 446.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1077, allocations: 0 / 446.6 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1077, allocations: 4 kB / 446.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1077, allocations: 4 kB / 446.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.108, allocations: 83.95 kB / 446.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.1089, allocations: 0.5198 MB / 447.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.1095, allocations: 174.7 kB / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.1097, allocations: 69.06 kB / 447.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1097, allocations: 0 / 447.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.1097, allocations: 50.45 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1097, allocations: 0 / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001755/0.1115, allocations: 0.6706 MB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1115, allocations: 59.39 kB / 448.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.112, allocations: 340.5 kB / 448.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.112, allocations: 25.7 kB / 448.6 MB, free: 9.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1121, allocations: 152.3 kB / 448.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.1122, allocations: 67.09 kB / 448.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.1122, allocations: 4 kB / 448.8 MB, free: 9.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.1123, allocations: 342.8 kB / 449.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1125, allocations: 60.34 kB / 449.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1127, allocations: 68.66 kB / 449.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1129, allocations: 68.92 kB / 449.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1129, allocations: 0 / 449.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004938/0.1134, allocations: 217.5 kB / 449.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1134, allocations: 4 kB / 449.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1134, allocations: 11.92 kB / 449.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1135, allocations: 0 / 449.6 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.114, allocations: 63.91 kB / 449.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.114, allocations: 4 kB / 449.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1142, allocations: 11.98 kB / 449.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1143, allocations: 8 kB / 449.7 MB, free: 8.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.1144, allocations: 133.6 kB / 449.8 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.368e-05/0.1145, allocations: 35.58 kB / 449.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.115, allocations: 220.6 kB / 450 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.115, allocations: 0 / 450 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1151, allocations: 4 kB / 450 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1151, allocations: 4 kB / 450 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.1155, allocations: 325.4 kB / 450.4 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1155, allocations: 0 / 450.4 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.1161, allocations: 63.89 kB / 450.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1161, allocations: 3.953 kB / 450.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.1162, allocations: 4 kB / 450.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1162, allocations: 4 kB / 450.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1162, allocations: 3.938 kB / 450.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/0.117, allocations: 397 kB / 450.8 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.1171, allocations: 108.8 kB / 450.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.1171, allocations: 7.953 kB / 450.9 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.1174, allocations: 8 kB / 450.9 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1175, allocations: 11.97 kB / 451 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.1175, allocations: 12 kB / 451 MB, free: 7.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003277/0.1179, allocations: 243.1 kB / 451.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1179, allocations: 0 / 451.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004626/0.1184, allocations: 48 kB / 451.3 MB, free: 7.172 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.1185, allocations: 99.17 kB / 451.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.1189, allocations: 159.9 kB / 451.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1189, allocations: 4 kB / 451.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1191, allocations: 79.91 kB / 451.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.1197, allocations: 33.08 kB / 451.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1215, allocations: 0.8868 MB / 452.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1217, allocations: 0.7716 MB / 453.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1218, allocations: 23.42 kB / 453.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1219, allocations: 4 kB / 453.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of Templates: time 0.005866/0.1277, allocations: 3.049 MB / 456.4 MB, free: 1.996 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches