Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.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.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 177.6 kB / 8.045 MB, free: 1.027 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.471/1.471, allocations: 205.3 MB / 213.8 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.0009056, allocations: 95.86 kB / 261.8 MB, free: 1.672 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.06394/0.06394, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.64e-05, allocations: 0 / 378.9 MB, free: 6.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 50.38 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09976/0.3148, allocations: 79.33 MB / 0.4967 GB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.315, allocations: 67.97 kB / 0.4968 GB, free: 2.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.3255, allocations: 3.644 MB / 0.5003 GB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.3255, allocations: 3.984 kB / 0.5003 GB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.3256, allocations: 4 kB / 0.5003 GB, free: 15.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006333/0.3262, allocations: 0.5056 MB / 0.5008 GB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3263, allocations: 8.031 kB / 0.5008 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.3263, allocations: 35.62 kB / 0.5009 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.3267, allocations: 304.2 kB / 0.5012 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3267, allocations: 7.938 kB / 0.5012 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3268, allocations: 15.95 kB / 0.5012 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001557/0.327, allocations: 76.55 kB / 0.5013 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004925/0.3275, allocations: 329.8 kB / 0.5016 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3275, allocations: 3.984 kB / 0.5016 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3275, allocations: 7.984 kB / 0.5016 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3275, allocations: 4 kB / 0.5016 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006131/0.3281, allocations: 0.4903 MB / 0.5021 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.3287, allocations: 284.4 kB / 0.5023 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3289, allocations: 126.5 kB / 0.5025 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.3289, allocations: 11.94 kB / 0.5025 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3289, allocations: 34.56 kB / 0.5025 GB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.333e-06/0.329, allocations: 3.938 kB / 0.5025 GB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001674/0.3306, allocations: 1.073 MB / 0.5036 GB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/0.3307, allocations: 127.3 kB / 0.5037 GB, free: 11.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.331, allocations: 285.2 kB / 0.5039 GB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.331, allocations: 25.7 kB / 0.504 GB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.3311, allocations: 148.9 kB / 0.5041 GB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.3312, allocations: 47.53 kB / 0.5042 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.3312, allocations: 0 / 0.5042 GB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3313, allocations: 342.8 kB / 0.5045 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.3314, allocations: 56.86 kB / 0.5045 GB, free: 10.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.3316, allocations: 270.1 kB / 0.5048 GB, free: 10.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3317, allocations: 100.7 kB / 0.5049 GB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3318, allocations: 4 kB / 0.5049 GB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004195/0.3322, allocations: 313.3 kB / 0.5052 GB, free: 9.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3322, allocations: 8 kB / 0.5052 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3322, allocations: 8 kB / 0.5052 GB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3322, allocations: 12 kB / 0.5052 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.3325, allocations: 91.83 kB / 0.5053 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.3325, allocations: 16.02 kB / 0.5053 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3327, allocations: 12.31 kB / 0.5053 GB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3327, allocations: 35.92 kB / 0.5054 GB, free: 9.562 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 9.168e-05/0.3328, allocations: 120.8 kB / 0.5055 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003878/0.3332, allocations: 257 kB / 0.5057 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.3338, allocations: 313.6 kB / 0.506 GB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3338, allocations: 8 kB / 0.506 GB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3338, allocations: 4 kB / 0.506 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3338, allocations: 3.984 kB / 0.506 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.3341, allocations: 277.9 kB / 0.5063 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3341, allocations: 0 / 0.5063 GB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.3346, allocations: 123.8 kB / 0.5064 GB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3347, allocations: 4 kB / 0.5064 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3347, allocations: 0 / 0.5064 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3347, allocations: 7.938 kB / 0.5064 GB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3347, allocations: 3.938 kB / 0.5064 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.3354, allocations: 0.6541 MB / 0.5071 GB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.3355, allocations: 116.6 kB / 0.5072 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3356, allocations: 4 kB / 0.5072 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3358, allocations: 7.984 kB / 0.5072 GB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.3359, allocations: 8.062 kB / 0.5072 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3359, allocations: 19.94 kB / 0.5072 GB, free: 7.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.3361, allocations: 228.6 kB / 0.5075 GB, free: 7.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3361, allocations: 0 / 0.5075 GB, free: 7.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.3365, allocations: 52 kB / 0.5075 GB, free: 7.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001319/0.3366, allocations: 103.2 kB / 0.5076 GB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.337, allocations: 233.2 kB / 0.5078 GB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.337, allocations: 0 / 0.5078 GB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.3371, allocations: 27.94 kB / 0.5078 GB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.3376, allocations: 169.7 kB / 0.508 GB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.3385, allocations: 0.5434 MB / 0.5085 GB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3389, allocations: 0.8112 MB / 0.5093 GB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.245e-05/0.339, allocations: 31.28 kB / 0.5094 GB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.3391, allocations: 35.42 kB / 0.5094 GB, free: 5.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3391, allocations: 0 / 0.5094 GB, free: 5.27 MB / 362.7 MB Notification: Performance of Templates: time 0.005733/0.3449, allocations: 2.811 MB / 0.5121 GB, free: 2.457 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches