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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009597/0.0009594, allocations: 174.9 kB / 16.45 MB, free: 5.684 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.245/1.245, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007888/0.000789, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.06792/0.06792, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 16 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.0856, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001697/0.08735, allocations: 1.724 MB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.08811, allocations: 0.5665 MB / 445.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.08823, allocations: 0 / 445.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.822e-05/0.08834, allocations: 15.8 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.08859, allocations: 55.56 kB / 445.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.08873, allocations: 39.95 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.08896, allocations: 243 kB / 445.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.08907, allocations: 48.89 kB / 445.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.08918, allocations: 95.5 kB / 445.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.08932, allocations: 115.3 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.08936, allocations: 16 kB / 445.9 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.984e-05/0.08939, allocations: 12 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.08946, allocations: 47.7 kB / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.0895, allocations: 61.52 kB / 446.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.08963, allocations: 155.9 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.08965, allocations: 4 kB / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.08965, allocations: 0 / 446.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.08966, allocations: 0 / 446.2 MB, free: 12.59 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009434/0.09061, allocations: 0.5721 MB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.09066, allocations: 8.031 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.09072, allocations: 35.53 kB / 446.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.09103, allocations: 303 kB / 447.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.09105, allocations: 8 kB / 447.1 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.09109, allocations: 12 kB / 447.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.09134, allocations: 126.4 kB / 447.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.09136, allocations: 3.984 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.09139, allocations: 8 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.0914, allocations: 4 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.09158, allocations: 75.97 kB / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.09231, allocations: 0.5198 MB / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.09276, allocations: 186.7 kB / 448.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.09288, allocations: 60.84 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.09291, allocations: 7.922 kB / 448.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.09294, allocations: 38.52 kB / 448.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.09294, allocations: 0 / 448.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001308/0.09426, allocations: 0.6741 MB / 448.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.09429, allocations: 51.41 kB / 448.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.09457, allocations: 336.6 kB / 449.2 MB, free: 9.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.09459, allocations: 33.7 kB / 449.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.09467, allocations: 156.3 kB / 449.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.09472, allocations: 63.11 kB / 449.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.09473, allocations: 4 kB / 449.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.0948, allocations: 338.8 kB / 449.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.09492, allocations: 64.34 kB / 449.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.09503, allocations: 64.72 kB / 449.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.09518, allocations: 68.94 kB / 450 MB, free: 8.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.09519, allocations: 0 / 450 MB, free: 8.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003007/0.0955, allocations: 221.5 kB / 450.2 MB, free: 8.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.09553, allocations: 8 kB / 450.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.09554, allocations: 0 / 450.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.09556, allocations: 0 / 450.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.09583, allocations: 63.89 kB / 450.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.09585, allocations: 4 kB / 450.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.096, allocations: 12 kB / 450.3 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.09603, allocations: 8 kB / 450.3 MB, free: 8.223 MB / 298.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/0.09612, allocations: 137.5 kB / 450.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.09618, allocations: 31.58 kB / 450.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.09653, allocations: 235.3 kB / 450.7 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.09655, allocations: 4 kB / 450.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09656, allocations: 0 / 450.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.09657, allocations: 0 / 450.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.09683, allocations: 325.4 kB / 451 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.09684, allocations: 4 kB / 451 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.09719, allocations: 59.89 kB / 451.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.0972, allocations: 3.953 kB / 451.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.09723, allocations: 11.98 kB / 451.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09724, allocations: 7.938 kB / 451.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.09724, allocations: 0 / 451.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.0977, allocations: 387 kB / 451.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.09776, allocations: 108.7 kB / 451.6 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.09781, allocations: 11.94 kB / 451.6 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.098, allocations: 12 kB / 451.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.09805, allocations: 7.984 kB / 451.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.09807, allocations: 11.98 kB / 451.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.09827, allocations: 247.1 kB / 451.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09828, allocations: 0 / 451.9 MB, free: 6.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.09852, allocations: 40 kB / 451.9 MB, free: 6.512 MB / 298.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 () * 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 (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 9.38e-05/0.09862, allocations: 99.25 kB / 452 MB, free: 6.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.09892, allocations: 156.4 kB / 452.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09893, allocations: 0 / 452.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.09906, allocations: 94.86 kB / 452.3 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.09945, allocations: 37.02 kB / 452.3 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1006, allocations: 0.8829 MB / 453.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.1008, allocations: 0.7677 MB / 453.9 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.241e-05/0.1009, allocations: 23.44 kB / 454 MB, free: 4.395 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1009, allocations: 3.938 kB / 454 MB, free: 4.391 MB / 298.7 MB Notification: Performance of Templates: time 0.004212/0.1052, allocations: 3.047 MB / 457 MB, free: 1.336 MB / 298.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/jenkins1/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