Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000884/0.0008841, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.8 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002116/0.0002117, allocations: 4 kB / 307.8 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08328, allocations: 51.52 MB / 359.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002011/0.08533, allocations: 1.794 MB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009596/0.08631, allocations: 0.5536 MB / 361.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.08644, allocations: 0 / 361.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.08655, allocations: 19.73 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.08681, allocations: 59.62 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.08697, allocations: 47.94 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.08725, allocations: 243.1 kB / 362.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.08738, allocations: 60.69 kB / 362.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.08757, allocations: 99.39 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.08774, allocations: 119.3 kB / 362.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.08778, allocations: 12 kB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.08781, allocations: 8 kB / 362.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.08789, allocations: 47.69 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.088, allocations: 136.8 kB / 362.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.0882, allocations: 223.3 kB / 362.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.08821, allocations: 0 / 362.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.08822, allocations: 7.875 kB / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.08823, allocations: 0 / 362.8 MB, free: 9.738 MB / 302.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.0008965/0.08913, allocations: 0.5606 MB / 363.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.08917, allocations: 12.03 kB / 363.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.08922, allocations: 42.73 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.08928, allocations: 28.56 kB / 363.4 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.08962, allocations: 312 kB / 363.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.08965, allocations: 15.94 kB / 363.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.08969, allocations: 12 kB / 363.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.08992, allocations: 122.7 kB / 363.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.08994, allocations: 0 / 363.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.08996, allocations: 4 kB / 363.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.08997, allocations: 4 kB / 363.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.09015, allocations: 79.89 kB / 364 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.09089, allocations: 0.5197 MB / 364.5 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.09136, allocations: 190.1 kB / 364.7 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.09149, allocations: 68.75 kB / 364.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.09152, allocations: 0 / 364.7 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.09155, allocations: 38.56 kB / 364.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.09155, allocations: 0 / 364.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001364/0.09292, allocations: 0.6676 MB / 365.4 MB, free: 6.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.09296, allocations: 55.41 kB / 365.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.09331, allocations: 336.5 kB / 365.8 MB, free: 6.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.09334, allocations: 25.7 kB / 365.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.09343, allocations: 160.2 kB / 366 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.0935, allocations: 67.09 kB / 366.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.09354, allocations: 21.7 kB / 366.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.09366, allocations: 342.8 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.09379, allocations: 63.91 kB / 366.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.09392, allocations: 59.97 kB / 366.5 MB, free: 5.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.09418, allocations: 148.8 kB / 366.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.09419, allocations: 3.938 kB / 366.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003482/0.09455, allocations: 224.2 kB / 366.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.09457, allocations: 4 kB / 366.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.09458, allocations: 4 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.09459, allocations: 0 / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.09486, allocations: 55.97 kB / 367 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.09488, allocations: 7.922 kB / 367 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.09503, allocations: 12 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.09505, allocations: 7.938 kB / 367 MB, free: 5.234 MB / 302.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.0001067/0.09517, allocations: 138.4 kB / 367.1 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.09522, allocations: 31.61 kB / 367.2 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.09562, allocations: 220.6 kB / 367.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.09564, allocations: 7.938 kB / 367.4 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.09565, allocations: 7.938 kB / 367.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.09566, allocations: 0 / 367.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.09598, allocations: 321.4 kB / 367.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09599, allocations: 0 / 367.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.09632, allocations: 59.95 kB / 367.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.09633, allocations: 0 / 367.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.09635, allocations: 4 kB / 367.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.09636, allocations: 0 / 367.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.09637, allocations: 3.938 kB / 367.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.0969, allocations: 401.6 kB / 368.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.09699, allocations: 112.7 kB / 368.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.09703, allocations: 4 kB / 368.3 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.09722, allocations: 8 kB / 368.3 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.09727, allocations: 19.91 kB / 368.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.09729, allocations: 8 kB / 368.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.09753, allocations: 243.1 kB / 368.6 MB, free: 3.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09754, allocations: 0 / 368.6 MB, free: 3.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.0978, allocations: 44 kB / 368.6 MB, free: 3.539 MB / 302.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.0007599/0.09857, allocations: 0.9301 MB / 369.5 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.09888, allocations: 163.9 kB / 369.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.09889, allocations: 0 / 369.7 MB, free: 2.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.09904, allocations: 86.56 kB / 369.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.09939, allocations: 41.02 kB / 369.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1449/0.2443, allocations: 3.224 MB / 373 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2445, allocations: 0.763 MB / 373.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.2446, allocations: 31.5 kB / 373.8 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2448, allocations: 102.3 kB / 373.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2448, allocations: 0 / 373.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.2615, allocations: 5.168 MB / 379.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.2617, allocations: 260 kB / 379.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.048, allocations: 0.875 kB / 379.4 MB, free: 17.14 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches