Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.MuxDemux,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_MuxDemux",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.2 MB / 245 MB, free: 7.652 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 105.6 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5035/0.5035, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004341, allocations: 4 kB / 468.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5335, allocations: 63.24 MB / 0.5193 GB, free: 43.9 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.6785, allocations: 87.05 MB / 0.6043 GB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.6787, allocations: 63.94 kB / 0.6043 GB, free: 2.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003466/0.6822, allocations: 1.495 MB / 0.6058 GB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6822, allocations: 0 / 0.6058 GB, free: 1.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.6823, allocations: 4.844 kB / 0.6058 GB, free: 1.043 MB / 410.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.0004678/0.6827, allocations: 413.5 kB / 0.6062 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.6828, allocations: 12.03 kB / 0.6062 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.6829, allocations: 67.58 kB / 0.6063 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.683, allocations: 31.66 kB / 0.6063 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.6833, allocations: 213.5 kB / 0.6065 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6833, allocations: 16.38 kB / 0.6065 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.6833, allocations: 24 kB / 0.6065 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.6837, allocations: 203.2 kB / 0.6067 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6837, allocations: 0 / 0.6067 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.6837, allocations: 9.438 kB / 0.6067 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6838, allocations: 4 kB / 0.6067 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.684, allocations: 134.6 kB / 0.6069 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.6847, allocations: 0.5214 MB / 0.6074 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.6848, allocations: 50.5 kB / 0.6074 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.6848, allocations: 0 / 0.6074 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6848, allocations: 30.69 kB / 0.6075 GB, free: 15.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.6848, allocations: 0 / 0.6075 GB, free: 15.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002596/0.6851, allocations: 77.67 kB / 0.6075 GB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.6851, allocations: 59.36 kB / 0.6076 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.6852, allocations: 108.9 kB / 0.6077 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.6853, allocations: 25.7 kB / 0.6077 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.6853, allocations: 147.8 kB / 0.6079 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.6854, allocations: 19.8 kB / 0.6079 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6854, allocations: 0 / 0.6079 GB, free: 14.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6855, allocations: 310.8 kB / 0.6082 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.6855, allocations: 15.98 kB / 0.6082 GB, free: 14.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.433e-05/0.6856, allocations: 16 kB / 0.6082 GB, free: 14.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.6856, allocations: 15.98 kB / 0.6082 GB, free: 14.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6856, allocations: 0 / 0.6082 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001262/0.6858, allocations: 65.97 kB / 0.6083 GB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6858, allocations: 10.34 kB / 0.6083 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6858, allocations: 384 / 0.6083 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6858, allocations: 4 kB / 0.6083 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.6859, allocations: 19.92 kB / 0.6083 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.6859, allocations: 0 / 0.6083 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.686, allocations: 7.953 kB / 0.6083 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.686, allocations: 3.984 kB / 0.6083 GB, free: 14.23 MB / 426.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.0001128/0.6861, allocations: 137.8 kB / 0.6085 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.6861, allocations: 0 / 0.6085 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.6862, allocations: 7.969 kB / 0.6085 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.6862, allocations: 4 kB / 0.6085 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6862, allocations: 4 kB / 0.6085 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6862, allocations: 0 / 0.6085 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.6866, allocations: 382.3 kB / 0.6088 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6866, allocations: 0 / 0.6088 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.6866, allocations: 8 kB / 0.6088 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6867, allocations: 3.984 kB / 0.6089 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.6867, allocations: 7.938 kB / 0.6089 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.6867, allocations: 7.984 kB / 0.6089 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6867, allocations: 0 / 0.6089 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.6869, allocations: 155.5 kB / 0.609 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.6869, allocations: 88.95 kB / 0.6091 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.687, allocations: 4 kB / 0.6091 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.687, allocations: 11.98 kB / 0.6091 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.6871, allocations: 3.938 kB / 0.6091 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.6871, allocations: 0 / 0.6091 GB, free: 13.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.6871, allocations: 95.22 kB / 0.6092 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6871, allocations: 3.938 kB / 0.6092 GB, free: 13.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00022/0.6874, allocations: 23.84 kB / 0.6092 GB, free: 13.21 MB / 426.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.0005351/0.6879, allocations: 0.7086 MB / 0.6099 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.6881, allocations: 39.97 kB / 0.61 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6881, allocations: 0 / 0.61 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.6881, allocations: 24 kB / 0.61 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.6883, allocations: 11.98 kB / 0.61 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.6895, allocations: 0.658 MB / 0.6106 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.6898, allocations: 0.7395 MB / 0.6114 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.6898, allocations: 4 kB / 0.6114 GB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.6899, allocations: 51.41 kB / 0.6114 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6899, allocations: 0 / 0.6114 GB, free: 10.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.7027, allocations: 1.667 MB / 0.613 GB, free: 9.34 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7029, allocations: 158.6 kB / 0.6132 GB, free: 9.105 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.154, allocations: 0 / 0.6132 GB, free: 9.105 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_MuxDemux_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_MuxDemux.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat does not exist to compare? outputFormat=mat