Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002285/0.002285, allocations: 175 kB / 8.192 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 88.27 kB / 261.8 MB, free: 13.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09421/0.09421, allocations: 12.6 MB / 322.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.056e-05, allocations: 4 kB / 378.4 MB, free: 75.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08384, allocations: 50.38 MB / 428.8 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/0.3843, allocations: 78.46 MB / 0.4953 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.3847, allocations: 78.92 kB / 0.4954 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01486/0.3995, allocations: 3.145 MB / 0.4985 GB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.3996, allocations: 11.69 kB / 0.4985 GB, free: 11.34 MB / 330.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.0007685/0.4004, allocations: 0.4945 MB / 0.499 GB, free: 10.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4004, allocations: 11.84 kB / 0.499 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.4005, allocations: 31.06 kB / 0.499 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.401, allocations: 297.9 kB / 0.4993 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4011, allocations: 8.875 kB / 0.4993 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.4011, allocations: 14.91 kB / 0.4993 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002161/0.4013, allocations: 60.92 kB / 0.4994 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.4016, allocations: 103.2 kB / 0.4995 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4016, allocations: 4.828 kB / 0.4995 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4017, allocations: 1.406 kB / 0.4995 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4017, allocations: 0 / 0.4995 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4027, allocations: 0.4886 MB / 0.5 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.403, allocations: 132.8 kB / 0.5001 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.4032, allocations: 51.33 kB / 0.5001 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4032, allocations: 3.75 kB / 0.5001 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4033, allocations: 39.64 kB / 0.5002 GB, free: 10.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.4033, allocations: 0 / 0.5002 GB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001763/0.405, allocations: 0.5695 MB / 0.5007 GB, free: 9.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.4051, allocations: 59.03 kB / 0.5008 GB, free: 9.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.4055, allocations: 285.7 kB / 0.5011 GB, free: 9.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4056, allocations: 25.7 kB / 0.5011 GB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.4056, allocations: 174.1 kB / 0.5013 GB, free: 9.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.4057, allocations: 60.56 kB / 0.5013 GB, free: 9.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.4057, allocations: 0 / 0.5013 GB, free: 9.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.4058, allocations: 320.2 kB / 0.5016 GB, free: 9.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4059, allocations: 51.66 kB / 0.5017 GB, free: 9.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.4061, allocations: 55.31 kB / 0.5017 GB, free: 9.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.4063, allocations: 57.88 kB / 0.5018 GB, free: 9.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4063, allocations: 0 / 0.5018 GB, free: 9.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004269/0.4067, allocations: 177.8 kB / 0.5019 GB, free: 9.227 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4068, allocations: 9.812 kB / 0.502 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4068, allocations: 0 / 0.502 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4068, allocations: 1.5 kB / 0.502 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.4074, allocations: 60.34 kB / 0.502 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4074, allocations: 3.875 kB / 0.502 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.4075, allocations: 3.844 kB / 0.502 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.4076, allocations: 9.156 kB / 0.502 GB, free: 9.219 MB / 330.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 () * 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 6.61e-05/0.4077, allocations: 37.55 kB / 0.5021 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.4077, allocations: 27.31 kB / 0.5021 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.4083, allocations: 191.9 kB / 0.5023 GB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4083, allocations: 3.906 kB / 0.5023 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4083, allocations: 3.984 kB / 0.5023 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4083, allocations: 5.453 kB / 0.5023 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.4088, allocations: 291.3 kB / 0.5026 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4088, allocations: 0.6094 kB / 0.5026 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.4095, allocations: 69.95 kB / 0.5026 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4095, allocations: 0 / 0.5026 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4095, allocations: 5.391 kB / 0.5026 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4095, allocations: 0 / 0.5026 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4095, allocations: 3.906 kB / 0.5026 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000617/0.4102, allocations: 358.2 kB / 0.503 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.4103, allocations: 104.6 kB / 0.5031 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.4104, allocations: 12.98 kB / 0.5031 GB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.4107, allocations: 9.203 kB / 0.5031 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.4108, allocations: 9.172 kB / 0.5031 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.4108, allocations: 5.406 kB / 0.5031 GB, free: 8.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003035/0.4111, allocations: 231.6 kB / 0.5033 GB, free: 8.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.4115, allocations: 39.95 kB / 0.5034 GB, free: 8.594 MB / 330.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 () * 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.0001284/0.4116, allocations: 111.8 kB / 0.5035 GB, free: 8.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.412, allocations: 149.6 kB / 0.5036 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.412, allocations: 0 / 0.5036 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.4122, allocations: 76.39 kB / 0.5037 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.4126, allocations: 26.97 kB / 0.5037 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.4144, allocations: 0.6173 MB / 0.5043 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.4148, allocations: 0.8064 MB / 0.5051 GB, free: 7.414 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4148, allocations: 4 kB / 0.5051 GB, free: 7.41 MB / 330.7 MB Notification: Performance of Templates: time 0.006929/0.4217, allocations: 3.038 MB / 0.5081 GB, free: 6.336 MB / 330.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