Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 110.4 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.55 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 50.52 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004017/0.1126, allocations: 2.281 MB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.114, allocations: 0.6044 MB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1142, allocations: 7.938 kB / 360 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.1144, allocations: 11.86 kB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1147, allocations: 59.55 kB / 360 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.115, allocations: 63.94 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.1153, allocations: 275 kB / 360.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1155, allocations: 68.92 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.1158, allocations: 127.4 kB / 360.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.116, allocations: 147.2 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.1161, allocations: 20 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.1161, allocations: 24 kB / 360.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.1162, allocations: 59.7 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1164, allocations: 135 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1167, allocations: 243.3 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1167, allocations: 0 / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1167, allocations: 0 / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1167, allocations: 0 / 361.2 MB, free: 10.2 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001276/0.118, allocations: 0.6191 MB / 361.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.118, allocations: 12.03 kB / 361.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.1181, allocations: 46.73 kB / 361.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.1182, allocations: 36.47 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.1186, allocations: 316.3 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1186, allocations: 20.2 kB / 362.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1187, allocations: 12 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.1194, allocations: 369.6 kB / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1194, allocations: 0 / 362.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1194, allocations: 7.984 kB / 362.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1194, allocations: 4 kB / 362.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1196, allocations: 95.89 kB / 362.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/0.1204, allocations: 0.5325 MB / 363.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.1211, allocations: 307.8 kB / 363.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1213, allocations: 150 kB / 363.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1214, allocations: 7.984 kB / 363.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1214, allocations: 42.5 kB / 363.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.1214, allocations: 3.938 kB / 363.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002408/0.1238, allocations: 1.325 MB / 365 MB, free: 6.016 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1239, allocations: 134.7 kB / 365.2 MB, free: 5.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.1244, allocations: 332.7 kB / 365.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1244, allocations: 33.7 kB / 365.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1245, allocations: 141.1 kB / 365.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1246, allocations: 47.53 kB / 365.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.1247, allocations: 70.14 kB / 365.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1248, allocations: 346.8 kB / 366.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.125, allocations: 68.83 kB / 366.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1253, allocations: 322.7 kB / 366.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/0.1257, allocations: 424.8 kB / 366.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1258, allocations: 4 kB / 366.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006324/0.1264, allocations: 404.9 kB / 367.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1264, allocations: 8 kB / 367.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.1264, allocations: 8 kB / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1265, allocations: 12 kB / 367.3 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.1268, allocations: 96.45 kB / 367.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.1268, allocations: 19.92 kB / 367.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.127, allocations: 31.84 kB / 367.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1271, allocations: 24 kB / 367.5 MB, free: 3.234 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.000182/0.1273, allocations: 162.7 kB / 367.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.1277, allocations: 297.6 kB / 368 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.1284, allocations: 379.1 kB / 368.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1284, allocations: 4 kB / 368.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1284, allocations: 4 kB / 368.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1285, allocations: 3.984 kB / 368.3 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1289, allocations: 329.3 kB / 368.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1289, allocations: 3.938 kB / 368.7 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.1295, allocations: 123.8 kB / 368.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.1295, allocations: 4 kB / 368.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.1296, allocations: 12 kB / 368.8 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1296, allocations: 0 / 368.8 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1296, allocations: 7.984 kB / 368.8 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.1306, allocations: 0.7147 MB / 369.5 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.1307, allocations: 116.7 kB / 369.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.1308, allocations: 16 kB / 369.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.131, allocations: 11.98 kB / 369.7 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1311, allocations: 8.062 kB / 369.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1311, allocations: 15.98 kB / 369.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.1314, allocations: 243.1 kB / 369.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1314, allocations: 0 / 369.9 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.1318, allocations: 63.94 kB / 370 MB, free: 0.6484 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.1565/0.2883, allocations: 1.269 MB / 371.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.289, allocations: 328.2 kB / 371.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.289, allocations: 3.375 kB / 371.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.2891, allocations: 30.08 kB / 371.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.2899, allocations: 209.3 kB / 371.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.2931, allocations: 2.291 MB / 374.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.2934, allocations: 0.8068 MB / 374.9 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.2936, allocations: 37.03 kB / 375 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2937, allocations: 115.6 kB / 375.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2937, allocations: 0 / 375.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.3154, allocations: 6.705 MB / 381.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.3156, allocations: 201.5 kB / 382 MB, free: 16.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.472, allocations: 0 / 382 MB, free: 16.54 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches