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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 103.8 kB / 16.02 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 201.3 kB / 16.95 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08258/0.08258, allocations: 12.58 MB / 282.7 MB, free: 15.65 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 83.88 kB / 343 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4116, allocations: 49.37 MB / 392.4 MB, free: 49.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.00372/0.4154, allocations: 2.147 MB / 394.5 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.4164, allocations: 0.583 MB / 395.1 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4166, allocations: 1.25 kB / 395.1 MB, free: 47.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.4167, allocations: 16.7 kB / 395.1 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.417, allocations: 67.77 kB / 395.2 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.4173, allocations: 38.25 kB / 395.2 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.4178, allocations: 271.5 kB / 395.5 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.4181, allocations: 57.17 kB / 395.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.4183, allocations: 112.9 kB / 395.6 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.4186, allocations: 136.2 kB / 395.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.4186, allocations: 20.31 kB / 395.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.536e-05/0.4187, allocations: 20.06 kB / 395.8 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4188, allocations: 62.67 kB / 395.9 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.419, allocations: 126.7 kB / 396 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.4194, allocations: 217.7 kB / 396.2 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.4194, allocations: 0 / 396.2 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 5e-06/0.4194, allocations: 1.125 kB / 396.2 MB, free: 46.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4195, allocations: 0 / 396.2 MB, free: 46.66 MB / 318.1 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.001357/0.4208, allocations: 0.608 MB / 396.8 MB, free: 46.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.4209, allocations: 8.688 kB / 396.8 MB, free: 46.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.421, allocations: 35.89 kB / 396.9 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.4214, allocations: 312.6 kB / 397.2 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4214, allocations: 12.38 kB / 397.2 MB, free: 45.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.4215, allocations: 19.55 kB / 397.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4217, allocations: 130.7 kB / 397.3 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4218, allocations: 1.344 kB / 397.3 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4218, allocations: 1.344 kB / 397.3 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4218, allocations: 6.469 kB / 397.3 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.422, allocations: 77.8 kB / 397.4 MB, free: 45.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.4228, allocations: 0.5256 MB / 397.9 MB, free: 45.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.4234, allocations: 175.8 kB / 398.1 MB, free: 45.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4235, allocations: 57.52 kB / 398.2 MB, free: 45.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4235, allocations: 9 kB / 398.2 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.4236, allocations: 36.06 kB / 398.2 MB, free: 45.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/0.4236, allocations: 0 / 398.2 MB, free: 45.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001726/0.4253, allocations: 0.6634 MB / 398.9 MB, free: 44.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4254, allocations: 53.91 kB / 398.9 MB, free: 44.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.4258, allocations: 336.7 kB / 399.3 MB, free: 44.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.4259, allocations: 30.77 kB / 399.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.426, allocations: 153.3 kB / 399.4 MB, free: 44.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.867e-05/0.4261, allocations: 62.59 kB / 399.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.4262, allocations: 37.61 kB / 399.5 MB, free: 44.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4263, allocations: 341.5 kB / 399.9 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.4265, allocations: 64.12 kB / 399.9 MB, free: 43.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4266, allocations: 64.53 kB / 400 MB, free: 43.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.427, allocations: 148.6 kB / 400.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.427, allocations: 0 / 400.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004342/0.4274, allocations: 220.2 kB / 400.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4274, allocations: 5.625 kB / 400.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4275, allocations: 4 kB / 400.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4275, allocations: 1.188 kB / 400.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.4278, allocations: 53.31 kB / 400.4 MB, free: 43.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4278, allocations: 5.312 kB / 400.4 MB, free: 43.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.428, allocations: 10.86 kB / 400.4 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.428, allocations: 7.75 kB / 400.4 MB, free: 43.39 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4281, allocations: 127.9 kB / 400.6 MB, free: 43.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.4282, allocations: 28.78 kB / 400.6 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.4286, allocations: 231.8 kB / 400.8 MB, free: 43.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4286, allocations: 6.781 kB / 400.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4287, allocations: 3.938 kB / 400.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4287, allocations: 0 / 400.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.4291, allocations: 319.1 kB / 401.1 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4291, allocations: 1.125 kB / 401.1 MB, free: 42.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4295, allocations: 60.55 kB / 401.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4295, allocations: 0 / 401.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.4295, allocations: 10.03 kB / 401.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4295, allocations: 1.406 kB / 401.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4295, allocations: 3.938 kB / 401.2 MB, free: 42.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.4301, allocations: 391.1 kB / 401.6 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.4301, allocations: 108.2 kB / 401.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.4302, allocations: 5.156 kB / 401.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.4304, allocations: 11.66 kB / 401.7 MB, free: 42.37 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.4304, allocations: 17.28 kB / 401.7 MB, free: 42.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4305, allocations: 3.688 kB / 401.7 MB, free: 42.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.4307, allocations: 254.8 kB / 402 MB, free: 42.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4307, allocations: 0 / 402 MB, free: 42.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.431, allocations: 43.19 kB / 402 MB, free: 42.19 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.4312, allocations: 96.44 kB / 402.1 MB, free: 42.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003921/0.4316, allocations: 172.8 kB / 402.3 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4316, allocations: 0 / 402.3 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4317, allocations: 84.09 kB / 402.4 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4321, allocations: 44.73 kB / 402.4 MB, free: 41.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4336, allocations: 0.8117 MB / 403.2 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.4338, allocations: 0.7694 MB / 404 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4339, allocations: 32.2 kB / 404 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.434, allocations: 28.25 kB / 404.1 MB, free: 40.58 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.434, allocations: 0 / 404.1 MB, free: 40.58 MB / 318.1 MB Notification: Performance of Templates: time 0.00657/0.4406, allocations: 2.715 MB / 406.8 MB, free: 39.25 MB / 318.1 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