Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006998/0.0006998, allocations: 97.27 kB / 16.04 MB, free: 5.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07054/0.07054, allocations: 12.63 MB / 29.41 MB, free: 5.941 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001792/0.0001793, allocations: 4 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00569/0.005886, allocations: 2.832 MB / 43.11 MB, free: 5.945 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 1.465/1.471, allocations: 278 MB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/1.472, allocations: 0.5272 MB / 321.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/1.472, allocations: 4 kB / 321.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/1.472, allocations: 16.89 kB / 321.7 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/1.472, allocations: 56.89 kB / 321.7 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/1.473, allocations: 43.95 kB / 321.8 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/1.473, allocations: 259 kB / 322 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/1.473, allocations: 115.3 kB / 322.1 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/1.473, allocations: 99.38 kB / 322.2 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/1.473, allocations: 120.8 kB / 322.4 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/1.473, allocations: 8 kB / 322.4 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/1.473, allocations: 15.94 kB / 322.4 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/1.473, allocations: 54.25 kB / 322.4 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/1.474, allocations: 136.8 kB / 322.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/1.474, allocations: 211 kB / 322.8 MB, free: 8.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.474, allocations: 0 / 322.8 MB, free: 8.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.474, allocations: 0 / 322.8 MB, free: 8.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/1.474, allocations: 0 / 322.8 MB, free: 8.57 MB / 250.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.000978/1.475, allocations: 0.5656 MB / 323.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.475, allocations: 12.03 kB / 323.3 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/1.475, allocations: 34.28 kB / 323.4 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/1.475, allocations: 312 kB / 323.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/1.475, allocations: 12.12 kB / 323.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/1.475, allocations: 12 kB / 323.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/1.476, allocations: 118.4 kB / 323.8 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.476, allocations: 2.344 kB / 323.8 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/1.476, allocations: 4 kB / 323.8 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/1.476, allocations: 4 kB / 323.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/1.476, allocations: 79.89 kB / 323.9 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/1.477, allocations: 0.5311 MB / 324.4 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/1.477, allocations: 173.7 kB / 324.6 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/1.477, allocations: 69.52 kB / 324.7 MB, free: 6.523 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/1.477, allocations: 5.688 kB / 324.7 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.477, allocations: 38.5 kB / 324.7 MB, free: 6.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.235e-06/1.477, allocations: 3.984 kB / 324.7 MB, free: 6.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.00133/1.479, allocations: 0.6725 MB / 325.4 MB, free: 5.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/1.479, allocations: 51.41 kB / 325.5 MB, free: 5.688 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/1.479, allocations: 336.6 kB / 325.8 MB, free: 5.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/1.479, allocations: 29.7 kB / 325.8 MB, free: 5.312 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.479, allocations: 160.2 kB / 326 MB, free: 5.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/1.479, allocations: 59.11 kB / 326 MB, free: 5.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/1.479, allocations: 4 kB / 326 MB, free: 5.086 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/1.479, allocations: 340.2 kB / 326.4 MB, free: 4.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/1.479, allocations: 63.91 kB / 326.4 MB, free: 4.684 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/1.48, allocations: 68.72 kB / 326.5 MB, free: 4.617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/1.48, allocations: 149.5 kB / 326.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/1.48, allocations: 0 / 326.6 MB, free: 4.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003243/1.48, allocations: 210.6 kB / 326.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/1.48, allocations: 8 kB / 326.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/1.48, allocations: 1.094 kB / 326.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.48, allocations: 0 / 326.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/1.48, allocations: 64.61 kB / 326.9 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/1.481, allocations: 11.88 kB / 326.9 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.481, allocations: 11.91 kB / 326.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/1.481, allocations: 4 kB / 326.9 MB, free: 4.164 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/1.481, allocations: 133.8 kB / 327.1 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/1.481, allocations: 27.72 kB / 327.1 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/1.481, allocations: 228.5 kB / 327.3 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.481, allocations: 4 kB / 327.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.481, allocations: 3.938 kB / 327.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.481, allocations: 0 / 327.3 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/1.482, allocations: 321.4 kB / 327.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.482, allocations: 0 / 327.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/1.482, allocations: 63.95 kB / 327.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.482, allocations: 0 / 327.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/1.482, allocations: 11.98 kB / 327.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.482, allocations: 3.938 kB / 327.7 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.482, allocations: 11.88 kB / 327.7 MB, free: 3.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/1.483, allocations: 387.2 kB / 328.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/1.483, allocations: 100.7 kB / 328.2 MB, free: 2.789 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/1.483, allocations: 8.062 kB / 328.2 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/1.483, allocations: 15.98 kB / 328.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/1.483, allocations: 11.92 kB / 328.2 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/1.483, allocations: 4 kB / 328.2 MB, free: 2.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000263/1.483, allocations: 255 kB / 328.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.483, allocations: 0 / 328.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002421/1.483, allocations: 40 kB / 328.5 MB, free: 2.465 MB / 250.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 (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.0001097/1.484, allocations: 107.2 kB / 328.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/1.484, allocations: 168.8 kB / 328.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.484, allocations: 0 / 328.8 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/1.484, allocations: 87.89 kB / 328.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.484, allocations: 37.06 kB / 328.9 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.486, allocations: 0.8895 MB / 329.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/1.486, allocations: 0.7638 MB / 330.6 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000105/1.486, allocations: 34.27 kB / 330.6 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/1.486, allocations: 27.42 kB / 330.6 MB, free: 308 kB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/1.486, allocations: 0 / 330.6 MB, free: 308 kB / 250.7 MB Notification: Performance of Templates: time 0.005397/1.492, allocations: 2.498 MB / 333.1 MB, free: 13.8 MB / 266.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