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.001398/0.001398, allocations: 168.9 kB / 16.8 MB, free: 4.992 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.513/1.513, allocations: 205.4 MB / 223 MB, free: 9.004 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.0007373/0.0007374, allocations: 93.16 kB / 271.3 MB, free: 8.242 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.07046/0.07046, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 16.22 kB / 393.3 MB, free: 65.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08335, allocations: 50.37 MB / 443.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit): time 0.002367/0.08575, allocations: 1.91 MB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.08704, allocations: 0.6168 MB / 446.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002273/0.08729, allocations: 4 kB / 446.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.08743, allocations: 19.8 kB / 446.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.08772, allocations: 63.55 kB / 446.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.08804, allocations: 67.86 kB / 446.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.08829, allocations: 262.8 kB / 446.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.08846, allocations: 64.95 kB / 446.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.08861, allocations: 103.4 kB / 446.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.08877, allocations: 127.2 kB / 446.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.08882, allocations: 12 kB / 446.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.018e-05/0.08886, allocations: 12 kB / 446.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.08893, allocations: 55.69 kB / 447 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.08904, allocations: 140.8 kB / 447.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.0892, allocations: 179.7 kB / 447.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08921, allocations: 0 / 447.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08922, allocations: 0 / 447.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.08923, allocations: 0 / 447.3 MB, free: 11.8 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009326/0.09017, allocations: 0.5764 MB / 447.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.09022, allocations: 12.03 kB / 447.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.09029, allocations: 36.56 kB / 447.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.0906, allocations: 316.2 kB / 448.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.09063, allocations: 16.41 kB / 448.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.09068, allocations: 19.98 kB / 448.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.09123, allocations: 392.6 kB / 448.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.09126, allocations: 0 / 448.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.09128, allocations: 4 kB / 448.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.0913, allocations: 4 kB / 448.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.09148, allocations: 91.95 kB / 448.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.0921, allocations: 0.5403 MB / 449.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/0.09274, allocations: 311.8 kB / 449.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.09294, allocations: 146.5 kB / 449.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.09298, allocations: 11.98 kB / 449.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.09301, allocations: 34.56 kB / 449.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.09302, allocations: 0 / 449.8 MB, free: 9.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001919/0.09494, allocations: 1.328 MB / 451.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.09503, allocations: 146.6 kB / 451.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.09532, allocations: 328.7 kB / 451.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.09535, allocations: 41.7 kB / 451.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.09542, allocations: 145 kB / 451.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.09547, allocations: 51.53 kB / 451.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.09549, allocations: 4 kB / 451.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.09556, allocations: 346.8 kB / 452.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.09568, allocations: 76.83 kB / 452.2 MB, free: 6.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.09589, allocations: 318.8 kB / 452.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.09622, allocations: 417 kB / 452.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.09623, allocations: 3.938 kB / 452.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005065/0.09674, allocations: 416.4 kB / 453.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.09677, allocations: 10.88 kB / 453.4 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.09679, allocations: 12 kB / 453.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.09681, allocations: 16 kB / 453.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.09706, allocations: 99.77 kB / 453.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.09708, allocations: 15.98 kB / 453.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.09729, allocations: 16 kB / 453.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.09732, allocations: 27.94 kB / 453.5 MB, free: 4.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001319/0.09746, allocations: 170.4 kB / 453.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.09785, allocations: 296.9 kB / 454 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.09838, allocations: 384.2 kB / 454.4 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.0984, allocations: 4 kB / 454.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.09841, allocations: 0 / 454.4 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.09842, allocations: 3.984 kB / 454.4 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.09871, allocations: 329.3 kB / 454.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.09872, allocations: 0 / 454.7 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.09927, allocations: 127.8 kB / 454.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.09928, allocations: 4 kB / 454.8 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.09931, allocations: 11.98 kB / 454.8 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.09932, allocations: 7.938 kB / 454.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09932, allocations: 0 / 454.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.1001, allocations: 0.7187 MB / 455.6 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.1002, allocations: 112.6 kB / 455.7 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.1003, allocations: 20.06 kB / 455.7 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.1005, allocations: 15.98 kB / 455.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1005, allocations: 4 kB / 455.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.1006, allocations: 15.98 kB / 455.7 MB, free: 2.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.1008, allocations: 243.1 kB / 456 MB, free: 2.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1008, allocations: 3.938 kB / 456 MB, free: 2.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.1012, allocations: 68.06 kB / 456 MB, free: 2.328 MB / 298.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 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 9.803e-05/0.1013, allocations: 111.1 kB / 456.2 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.1018, allocations: 301.5 kB / 456.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1018, allocations: 0 / 456.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.1019, allocations: 24 kB / 456.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.1026, allocations: 219.2 kB / 456.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1038, allocations: 0.9435 MB / 457.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1041, allocations: 0.8117 MB / 458.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1042, allocations: 31.44 kB / 458.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of SimCode: time 2.274e-06/0.1043, allocations: 0 / 458.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of Templates: time 0.00677/0.111, allocations: 3.879 MB / 462.3 MB, free: 11.95 MB / 314.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/jenkins1/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