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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 189 kB / 7.847 MB, free: 2.359 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.2 MB / 213.5 MB, free: 13.85 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.0008726/0.0008725, allocations: 89.33 kB / 261.5 MB, free: 13.54 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.07073/0.07073, allocations: 12.59 MB / 322 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 0 / 378.4 MB, free: 75.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07622/0.07624, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.3135, allocations: 78.46 MB / 0.4953 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.3138, allocations: 86.41 kB / 0.4954 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009973/0.3238, allocations: 3.147 MB / 0.4985 GB, free: 11.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3239, allocations: 3.906 kB / 0.4985 GB, free: 11.45 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.0005325/0.3244, allocations: 0.5011 MB / 0.499 GB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3244, allocations: 7.812 kB / 0.499 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.3245, allocations: 34.97 kB / 0.499 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3249, allocations: 297.4 kB / 0.4993 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3249, allocations: 3.969 kB / 0.4993 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3249, allocations: 7.844 kB / 0.4993 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001371/0.3251, allocations: 68.81 kB / 0.4994 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3252, allocations: 103.7 kB / 0.4995 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3252, allocations: 0 / 0.4995 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3253, allocations: 0 / 0.4995 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3253, allocations: 4.469 kB / 0.4995 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007135/0.326, allocations: 0.4929 MB / 0.5 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3262, allocations: 130.3 kB / 0.5001 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.3263, allocations: 50.23 kB / 0.5002 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3263, allocations: 5.547 kB / 0.5002 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.3263, allocations: 38.31 kB / 0.5002 GB, free: 10.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.3263, allocations: 0 / 0.5002 GB, free: 10.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001097/0.3274, allocations: 0.5773 MB / 0.5008 GB, free: 10.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.3275, allocations: 52.72 kB / 0.5008 GB, free: 10.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3277, allocations: 285.4 kB / 0.5011 GB, free: 9.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3277, allocations: 25.7 kB / 0.5011 GB, free: 9.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.3278, allocations: 125.4 kB / 0.5012 GB, free: 9.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.3278, allocations: 60 kB / 0.5013 GB, free: 9.754 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.3279, allocations: 0 / 0.5013 GB, free: 9.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.3279, allocations: 346.6 kB / 0.5016 GB, free: 9.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.875e-05/0.328, allocations: 49.23 kB / 0.5017 GB, free: 9.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.3281, allocations: 55.89 kB / 0.5017 GB, free: 9.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.3282, allocations: 62.64 kB / 0.5018 GB, free: 9.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3282, allocations: 0 / 0.5018 GB, free: 9.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002713/0.3285, allocations: 195.5 kB / 0.502 GB, free: 9.387 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3285, allocations: 3.812 kB / 0.502 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3286, allocations: 4 kB / 0.502 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3286, allocations: 0 / 0.502 GB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.3289, allocations: 70.16 kB / 0.502 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3289, allocations: 0 / 0.502 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3291, allocations: 9.703 kB / 0.502 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3291, allocations: 3.844 kB / 0.502 GB, free: 9.371 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.1e-05/0.3292, allocations: 106.4 kB / 0.5021 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.3292, allocations: 37.98 kB / 0.5022 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.3296, allocations: 193.4 kB / 0.5024 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3296, allocations: 3.688 kB / 0.5024 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3296, allocations: 0 / 0.5024 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3296, allocations: 1.078 kB / 0.5024 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.3299, allocations: 289.2 kB / 0.5026 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.33, allocations: 0 / 0.5026 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.3304, allocations: 64.66 kB / 0.5027 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3304, allocations: 1.5 kB / 0.5027 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3304, allocations: 9.203 kB / 0.5027 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3304, allocations: 3.906 kB / 0.5027 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3304, allocations: 0 / 0.5027 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003672/0.3308, allocations: 357 kB / 0.5031 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3309, allocations: 112.4 kB / 0.5032 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3309, allocations: 3.844 kB / 0.5032 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3311, allocations: 5.156 kB / 0.5032 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.3312, allocations: 13.88 kB / 0.5032 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3312, allocations: 12.81 kB / 0.5032 GB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001863/0.3314, allocations: 229.8 kB / 0.5034 GB, free: 8.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.3317, allocations: 38.81 kB / 0.5035 GB, free: 8.676 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.0001136/0.3318, allocations: 108.7 kB / 0.5036 GB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.332, allocations: 148 kB / 0.5037 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.332, allocations: 0 / 0.5037 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3321, allocations: 74.48 kB / 0.5038 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3324, allocations: 31.91 kB / 0.5038 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3336, allocations: 0.5883 MB / 0.5044 GB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.3339, allocations: 0.8053 MB / 0.5052 GB, free: 7.527 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3339, allocations: 0 / 0.5052 GB, free: 7.527 MB / 330.7 MB Notification: Performance of Templates: time 0.004876/0.3388, allocations: 2.242 MB / 0.5074 GB, free: 6.805 MB / 330.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/jenkins/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