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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009606/0.0009604, allocations: 180.6 kB / 16.12 MB, free: 5.688 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.223/1.223, allocations: 205 MB / 221.9 MB, free: 9.156 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.0007728/0.0007726, allocations: 101.4 kB / 269.9 MB, free: 8.676 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.06661/0.06661, allocations: 12.57 MB / 330.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004395, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06899/0.06945, allocations: 49.97 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001594/0.07109, allocations: 1.801 MB / 442.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.07179, allocations: 0.5856 MB / 443.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.07191, allocations: 4 kB / 443.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.07202, allocations: 19.73 kB / 443.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.07225, allocations: 63.61 kB / 443.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.07239, allocations: 43.89 kB / 443.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.07261, allocations: 251.2 kB / 443.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.07274, allocations: 56.94 kB / 444 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.07284, allocations: 95.38 kB / 444.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.07297, allocations: 119.3 kB / 444.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.07301, allocations: 12 kB / 444.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.667e-05/0.07304, allocations: 12 kB / 444.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.07311, allocations: 55.62 kB / 444.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.07319, allocations: 115.1 kB / 444.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.07333, allocations: 199.1 kB / 444.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.07335, allocations: 4 kB / 444.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.07335, allocations: 0 / 444.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.07337, allocations: 0 / 444.6 MB, free: 12.87 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.0007818/0.07415, allocations: 0.5723 MB / 445.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0742, allocations: 12.03 kB / 445.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.07424, allocations: 50.67 kB / 445.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.07429, allocations: 32.56 kB / 445.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.07456, allocations: 312 kB / 445.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.07458, allocations: 7.938 kB / 445.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.07462, allocations: 15.98 kB / 445.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.07483, allocations: 137.5 kB / 445.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.07485, allocations: 3.938 kB / 445.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.07487, allocations: 7.938 kB / 445.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.07488, allocations: 8 kB / 445.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.07504, allocations: 75.95 kB / 445.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.07568, allocations: 0.5159 MB / 446.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.07611, allocations: 182.7 kB / 446.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.07623, allocations: 68.77 kB / 446.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.07626, allocations: 3.984 kB / 446.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.07629, allocations: 38.56 kB / 446.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.07629, allocations: 0 / 446.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001226/0.07752, allocations: 0.6652 MB / 447.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.07755, allocations: 55.39 kB / 447.3 MB, free: 9.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.07782, allocations: 336.6 kB / 447.6 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.07784, allocations: 33.7 kB / 447.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.0779, allocations: 156.3 kB / 447.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.07795, allocations: 63.09 kB / 447.9 MB, free: 9.277 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.07799, allocations: 21.72 kB / 447.9 MB, free: 9.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.07804, allocations: 342.8 kB / 448.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.07816, allocations: 63.91 kB / 448.3 MB, free: 8.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.07827, allocations: 59.98 kB / 448.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.07849, allocations: 152.8 kB / 448.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.0785, allocations: 0 / 448.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002934/0.0788, allocations: 221.5 kB / 448.7 MB, free: 8.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.07882, allocations: 4 kB / 448.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.07883, allocations: 0 / 448.7 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.07885, allocations: 4 kB / 448.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.07912, allocations: 63.89 kB / 448.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.07914, allocations: 3.938 kB / 448.8 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.07933, allocations: 15.94 kB / 448.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.07935, allocations: 4 kB / 448.8 MB, free: 8.316 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.256e-05/0.07945, allocations: 129.8 kB / 448.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.0795, allocations: 27.62 kB / 449 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.07985, allocations: 235.5 kB / 449.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.07987, allocations: 0 / 449.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.07988, allocations: 3.938 kB / 449.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.07989, allocations: 7.984 kB / 449.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.08014, allocations: 313.5 kB / 449.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.08015, allocations: 0 / 449.5 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.08048, allocations: 59.95 kB / 449.6 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.08049, allocations: 7.938 kB / 449.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.08051, allocations: 11.92 kB / 449.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.08052, allocations: 0 / 449.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.08053, allocations: 7.938 kB / 449.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/0.08096, allocations: 383 kB / 450 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.08102, allocations: 112.8 kB / 450.1 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.08107, allocations: 15.98 kB / 450.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.08126, allocations: 4 kB / 450.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.08131, allocations: 15.92 kB / 450.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.08133, allocations: 7.984 kB / 450.1 MB, free: 6.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.08152, allocations: 251.1 kB / 450.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08152, allocations: 0 / 450.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.08177, allocations: 44 kB / 450.4 MB, free: 6.613 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 (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.0005675/0.08234, allocations: 0.9231 MB / 451.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.08261, allocations: 162.4 kB / 451.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.08263, allocations: 4 kB / 451.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.08275, allocations: 87.81 kB / 451.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.08308, allocations: 37.22 kB / 451.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.08603, allocations: 3.185 MB / 454.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.0862, allocations: 0.7675 MB / 455.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.515e-05/0.0863, allocations: 34.27 kB / 455.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.08644, allocations: 91.39 kB / 455.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of SimCode: time 1.041e-06/0.08645, allocations: 4 kB / 455.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04172/0.1282, allocations: 5.214 MB / 460.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.1285, allocations: 268.2 kB / 461.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/2.666, allocations: 0 / 461.2 MB, free: 11.61 MB / 314.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > 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