Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 42.55 kB / 300.2 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1064, allocations: 49.44 MB / 349.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003591/0.1101, allocations: 2.249 MB / 351.9 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1112, allocations: 0.6004 MB / 352.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.1114, allocations: 0 / 352.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1116, allocations: 19.78 kB / 352.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1119, allocations: 59.56 kB / 352.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1122, allocations: 70.12 kB / 352.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1125, allocations: 275.1 kB / 352.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1127, allocations: 60.97 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1129, allocations: 115.4 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1131, allocations: 147.2 kB / 353.3 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.1132, allocations: 20 kB / 353.3 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.936e-05/0.1132, allocations: 27.94 kB / 353.3 MB, free: 1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1133, allocations: 67.67 kB / 353.4 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1134, allocations: 123.1 kB / 353.5 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1137, allocations: 251.2 kB / 353.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1137, allocations: 4 kB / 353.7 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1137, allocations: 4 kB / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1137, allocations: 0 / 353.7 MB, free: 0.5586 MB / 286.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.001163/0.1149, allocations: 0.6136 MB / 354.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.115, allocations: 12.03 kB / 354.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.115, allocations: 46.73 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1151, allocations: 36.47 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1155, allocations: 308.4 kB / 354.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1155, allocations: 16.22 kB / 354.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.1156, allocations: 19.91 kB / 354.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.1162, allocations: 366 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1162, allocations: 3.938 kB / 355.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1163, allocations: 12 kB / 355.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1163, allocations: 4 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.1165, allocations: 83.95 kB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007112/0.1172, allocations: 0.5326 MB / 355.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.1179, allocations: 319.7 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.1181, allocations: 142.3 kB / 356.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1182, allocations: 4 kB / 356.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1182, allocations: 46.55 kB / 356.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.1182, allocations: 0 / 356.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002302/0.1205, allocations: 1.319 MB / 357.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1206, allocations: 138.8 kB / 357.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.121, allocations: 336.5 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.121, allocations: 29.7 kB / 358.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.1211, allocations: 145.1 kB / 358.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.1212, allocations: 47.53 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.1213, allocations: 66.14 kB / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1214, allocations: 346.8 kB / 358.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1215, allocations: 76.77 kB / 358.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.1218, allocations: 318.7 kB / 359.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.1223, allocations: 416.9 kB / 359.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1223, allocations: 0 / 359.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006106/0.1229, allocations: 416.6 kB / 359.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1229, allocations: 8 kB / 359.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1229, allocations: 8.844 kB / 359.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.123, allocations: 12 kB / 359.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.1232, allocations: 95.84 kB / 360 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.1232, allocations: 19.98 kB / 360 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1235, allocations: 27.84 kB / 360 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1235, allocations: 24 kB / 360.1 MB, free: 9.625 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.0001762/0.1237, allocations: 181.5 kB / 360.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004796/0.1242, allocations: 293.1 kB / 360.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006175/0.1248, allocations: 379.2 kB / 360.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1248, allocations: 4 kB / 360.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1248, allocations: 0 / 360.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1249, allocations: 4 kB / 360.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1252, allocations: 329.2 kB / 361.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.1253, allocations: 3.984 kB / 361.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.1258, allocations: 119.9 kB / 361.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1259, allocations: 0 / 361.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.1259, allocations: 15.98 kB / 361.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.1259, allocations: 4 kB / 361.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1259, allocations: 7.938 kB / 361.4 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/0.1269, allocations: 0.7106 MB / 362.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.127, allocations: 116.8 kB / 362.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.1271, allocations: 19.98 kB / 362.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.1273, allocations: 12.06 kB / 362.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1274, allocations: 11.98 kB / 362.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1274, allocations: 8 kB / 362.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002518/0.1277, allocations: 243.1 kB / 362.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1277, allocations: 0 / 362.5 MB, free: 7.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004524/0.1281, allocations: 64 kB / 362.6 MB, free: 7.027 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.001325/0.1295, allocations: 1.272 MB / 363.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.1301, allocations: 328.9 kB / 364.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1302, allocations: 0 / 364.2 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.1302, allocations: 31.92 kB / 364.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.131, allocations: 217.6 kB / 364.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.1348, allocations: 2.307 MB / 366.7 MB, free: 2.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1353, allocations: 0.8112 MB / 367.5 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1354, allocations: 35.27 kB / 367.5 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.1356, allocations: 115.4 kB / 367.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1356, allocations: 0 / 367.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.3363, allocations: 6.691 MB / 374.4 MB, free: 24.74 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.3365, allocations: 211.8 kB / 374.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.442, allocations: 0.9375 kB / 374.6 MB, free: 24.48 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches