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.001359/0.001359, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.89 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003809/0.2924, allocations: 2.225 MB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2938, allocations: 0.6121 MB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.294, allocations: 3.938 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2941, allocations: 31.67 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2945, allocations: 75.34 kB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2948, allocations: 71.84 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.2952, allocations: 275.1 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2954, allocations: 72.72 kB / 412.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.2956, allocations: 119.4 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2958, allocations: 151.2 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.2959, allocations: 24 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.2959, allocations: 20 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-05/0.296, allocations: 63.69 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2962, allocations: 127.1 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.2965, allocations: 265.6 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2965, allocations: 0 / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2966, allocations: 0 / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2966, allocations: 4 kB / 412.9 MB, free: 13.35 MB / 334.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.001177/0.2978, allocations: 0.619 MB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2978, allocations: 8.031 kB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.2979, allocations: 46.73 kB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.2979, allocations: 40.7 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.2984, allocations: 316.6 kB / 414 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.2984, allocations: 12.22 kB / 414 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.2985, allocations: 20 kB / 414 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.2992, allocations: 373.9 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2992, allocations: 4 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.2992, allocations: 8 kB / 414.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2992, allocations: 7.938 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2994, allocations: 83.95 kB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007815/0.3002, allocations: 0.5249 MB / 415 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.301, allocations: 315.8 kB / 415.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.3012, allocations: 141.8 kB / 415.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3013, allocations: 8.594 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3013, allocations: 42.55 kB / 415.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.774e-06/0.3013, allocations: 0 / 415.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002509/0.3038, allocations: 1.342 MB / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.304, allocations: 138.8 kB / 417 MB, free: 9.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.3044, allocations: 328.7 kB / 417.3 MB, free: 8.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3044, allocations: 41.64 kB / 417.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3045, allocations: 141.1 kB / 417.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.3046, allocations: 51.67 kB / 417.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.3047, allocations: 74.08 kB / 417.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3049, allocations: 350.8 kB / 417.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.305, allocations: 68.83 kB / 418 MB, free: 7.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3054, allocations: 318.7 kB / 418.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.3059, allocations: 412.9 kB / 418.7 MB, free: 6.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3059, allocations: 4 kB / 418.7 MB, free: 6.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006906/0.3066, allocations: 413.1 kB / 419.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3066, allocations: 8 kB / 419.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3067, allocations: 8 kB / 419.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.3067, allocations: 12 kB / 419.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.307, allocations: 92.47 kB / 419.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.307, allocations: 19.92 kB / 419.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3072, allocations: 31.89 kB / 419.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3073, allocations: 24 kB / 419.3 MB, free: 6.383 MB / 334.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.0002141/0.3075, allocations: 165.6 kB / 419.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.308, allocations: 300.8 kB / 419.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.3088, allocations: 375.5 kB / 420.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3088, allocations: 8 kB / 420.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3088, allocations: 4 kB / 420.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3088, allocations: 0 / 420.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.3093, allocations: 321.3 kB / 420.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3093, allocations: 3.984 kB / 420.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.3099, allocations: 119.9 kB / 420.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.3099, allocations: 4 kB / 420.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.3099, allocations: 15.98 kB / 420.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3099, allocations: 0 / 420.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3099, allocations: 0 / 420.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3111, allocations: 0.7228 MB / 421.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3112, allocations: 116.8 kB / 421.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.3113, allocations: 23.92 kB / 421.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3115, allocations: 8.188 kB / 421.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3116, allocations: 3.984 kB / 421.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.3116, allocations: 24.05 kB / 421.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.3119, allocations: 243.1 kB / 421.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3119, allocations: 0 / 421.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.3124, allocations: 60 kB / 421.8 MB, free: 3.789 MB / 334.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.001459/0.3139, allocations: 1.288 MB / 423.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.3145, allocations: 293.4 kB / 423.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3145, allocations: 0 / 423.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.3146, allocations: 31.92 kB / 423.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.3154, allocations: 210.7 kB / 423.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.321, allocations: 3.815 MB / 427.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3216, allocations: 0.8112 MB / 428.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3217, allocations: 39.27 kB / 428.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.322, allocations: 111.4 kB / 428.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.322, allocations: 0 / 428.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.3571, allocations: 7.102 MB / 435.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.411/9.768, allocations: 11.06 kB / 435.5 MB, free: 5.816 MB / 350.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.1.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