Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_MuxDemux",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.001329/0.001329, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.549/1.549, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001036/0.001036, allocations: 86.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.197/0.197, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09598, allocations: 58.86 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4227, allocations: 84.89 MB / 0.5617 GB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.4229, allocations: 61.59 kB / 0.5618 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003353/0.4263, allocations: 1.479 MB / 0.5632 GB, free: 13.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4263, allocations: 3.938 kB / 0.5632 GB, free: 13.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.4263, allocations: 11.5 kB / 0.5633 GB, free: 13.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004388/0.4268, allocations: 407.1 kB / 0.5636 GB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4268, allocations: 8.031 kB / 0.5637 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.4269, allocations: 76.75 kB / 0.5637 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.427, allocations: 23.67 kB / 0.5638 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.4272, allocations: 218.2 kB / 0.564 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4273, allocations: 15.12 kB / 0.564 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.4273, allocations: 22.81 kB / 0.564 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.4276, allocations: 200.6 kB / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4277, allocations: 0 / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4277, allocations: 7.25 kB / 0.5642 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4277, allocations: 8 kB / 0.5642 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.4279, allocations: 134.6 kB / 0.5643 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.4286, allocations: 0.5159 MB / 0.5648 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.4287, allocations: 48.94 kB / 0.5649 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.4287, allocations: 0 / 0.5649 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.4287, allocations: 30.56 kB / 0.5649 GB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.4287, allocations: 0 / 0.5649 GB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002109/0.4289, allocations: 87.42 kB / 0.565 GB, free: 11.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.429, allocations: 59.05 kB / 0.565 GB, free: 11.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.4291, allocations: 104.3 kB / 0.5651 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4291, allocations: 25.7 kB / 0.5652 GB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.337e-05/0.4292, allocations: 150.8 kB / 0.5653 GB, free: 11.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.4292, allocations: 15.12 kB / 0.5653 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4292, allocations: 0 / 0.5653 GB, free: 11.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4293, allocations: 322.4 kB / 0.5656 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.4293, allocations: 11.98 kB / 0.5656 GB, free: 11.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.4294, allocations: 15.42 kB / 0.5657 GB, free: 11.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.4294, allocations: 11.94 kB / 0.5657 GB, free: 11.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4294, allocations: 0 / 0.5657 GB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001166/0.4296, allocations: 72.28 kB / 0.5657 GB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4296, allocations: 6.656 kB / 0.5658 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4296, allocations: 0 / 0.5658 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4296, allocations: 3.984 kB / 0.5658 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.4297, allocations: 8 kB / 0.5658 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4297, allocations: 3.938 kB / 0.5658 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.4297, allocations: 7.953 kB / 0.5658 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4298, allocations: 3.938 kB / 0.5658 GB, free: 10.91 MB / 378.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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.4299, allocations: 148 kB / 0.5659 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.4299, allocations: 3.984 kB / 0.5659 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.4299, allocations: 7.969 kB / 0.5659 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4299, allocations: 3.938 kB / 0.5659 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.43, allocations: 0 / 0.5659 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.43, allocations: 0 / 0.5659 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.4304, allocations: 380.8 kB / 0.5663 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4304, allocations: 0 / 0.5663 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.4304, allocations: 11.98 kB / 0.5663 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4304, allocations: 4 kB / 0.5663 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.4304, allocations: 2.25 kB / 0.5663 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4305, allocations: 0 / 0.5663 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4305, allocations: 0 / 0.5663 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4306, allocations: 164.3 kB / 0.5665 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.4307, allocations: 92.94 kB / 0.5666 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4307, allocations: 2.5 kB / 0.5666 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.4308, allocations: 4 kB / 0.5666 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.4308, allocations: 0 / 0.5666 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.4308, allocations: 4 kB / 0.5666 GB, free: 10.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.4309, allocations: 94.16 kB / 0.5667 GB, free: 9.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4309, allocations: 0 / 0.5667 GB, free: 9.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.4311, allocations: 30.62 kB / 0.5667 GB, free: 9.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004819/0.4316, allocations: 0.7124 MB / 0.5674 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4317, allocations: 39.55 kB / 0.5674 GB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4317, allocations: 0 / 0.5674 GB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.4318, allocations: 14.75 kB / 0.5674 GB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.4319, allocations: 9.922 kB / 0.5674 GB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.4329, allocations: 0.6584 MB / 0.5681 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4332, allocations: 0.7387 MB / 0.5688 GB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.4333, allocations: 3.984 kB / 0.5688 GB, free: 7.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.4333, allocations: 49.92 kB / 0.5689 GB, free: 7.699 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4333, allocations: 0 / 0.5689 GB, free: 7.699 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.4447, allocations: 1.67 MB / 0.5705 GB, free: 6.074 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.445, allocations: 163.2 kB / 0.5706 GB, free: 5.828 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/1.846, allocations: 0 / 0.5706 GB, free: 5.828 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_MuxDemux_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_MuxDemux.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat does not exist to compare? outputFormat=mat