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.001015/0.001015, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.599/1.599, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008126/0.0008124, allocations: 88.81 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.482/0.482, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.671e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/0.7407, allocations: 84.79 MB / 0.5557 GB, free: 18.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.741, allocations: 62.67 kB / 0.5557 GB, free: 18.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004065/0.7451, allocations: 1.489 MB / 0.5572 GB, free: 17.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7452, allocations: 4 kB / 0.5572 GB, free: 17.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.7452, allocations: 6.953 kB / 0.5572 GB, free: 17.57 MB / 394.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.0004051/0.7456, allocations: 408.4 kB / 0.5576 GB, free: 17.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.7457, allocations: 13.53 kB / 0.5576 GB, free: 17.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.7458, allocations: 68.38 kB / 0.5577 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.7458, allocations: 19.75 kB / 0.5577 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.7461, allocations: 225.6 kB / 0.5579 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.7461, allocations: 12.31 kB / 0.5579 GB, free: 16.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.7462, allocations: 19.5 kB / 0.5579 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.7466, allocations: 197.5 kB / 0.5581 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.7466, allocations: 3.391 kB / 0.5581 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.7466, allocations: 6.125 kB / 0.5581 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.7467, allocations: 8 kB / 0.5581 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.7469, allocations: 117.3 kB / 0.5583 GB, free: 16.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.7477, allocations: 0.5126 MB / 0.5588 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.325e-05/0.7478, allocations: 45.33 kB / 0.5588 GB, free: 16.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.7479, allocations: 25.34 kB / 0.5588 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.7479, allocations: 0 / 0.5588 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.7479, allocations: 34.56 kB / 0.5589 GB, free: 16.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.7479, allocations: 0 / 0.5589 GB, free: 16.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001741/0.7481, allocations: 54.45 kB / 0.5589 GB, free: 16.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.7481, allocations: 60.33 kB / 0.559 GB, free: 15.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.7482, allocations: 101.8 kB / 0.5591 GB, free: 15.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.7482, allocations: 25.7 kB / 0.5591 GB, free: 15.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.7483, allocations: 144 kB / 0.5592 GB, free: 15.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.7483, allocations: 16.92 kB / 0.5592 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.7484, allocations: 3.875 kB / 0.5593 GB, free: 15.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.7484, allocations: 317 kB / 0.5596 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.7485, allocations: 7.812 kB / 0.5596 GB, free: 15.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.7485, allocations: 4 kB / 0.5596 GB, free: 15.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.7485, allocations: 12.86 kB / 0.5596 GB, free: 15.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7485, allocations: 0 / 0.5596 GB, free: 15.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.668e-05/0.7486, allocations: 54.89 kB / 0.5596 GB, free: 15.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.7487, allocations: 6.344 kB / 0.5596 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7487, allocations: 0 / 0.5596 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7487, allocations: 0 / 0.5596 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7488, allocations: 14.52 kB / 0.5596 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.7489, allocations: 0 / 0.5596 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.7489, allocations: 9.453 kB / 0.5597 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.7489, allocations: 4 kB / 0.5597 GB, free: 15.25 MB / 394.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 () * 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 5.669e-05/0.749, allocations: 108.4 kB / 0.5598 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.749, allocations: 3.906 kB / 0.5598 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.7491, allocations: 14.55 kB / 0.5598 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7491, allocations: 0 / 0.5598 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.7491, allocations: 0 / 0.5598 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7491, allocations: 0 / 0.5598 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.7495, allocations: 364.6 kB / 0.5601 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7495, allocations: 4.562 kB / 0.5601 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.7496, allocations: 11.23 kB / 0.5601 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7496, allocations: 0 / 0.5601 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.7496, allocations: 7.562 kB / 0.5602 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7497, allocations: 3.875 kB / 0.5602 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7497, allocations: 3.953 kB / 0.5602 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.7498, allocations: 141.6 kB / 0.5603 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.7498, allocations: 96.88 kB / 0.5604 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.7499, allocations: 8.906 kB / 0.5604 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.75, allocations: 4 kB / 0.5604 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.75, allocations: 1.312 kB / 0.5604 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.75, allocations: 5.266 kB / 0.5604 GB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.7501, allocations: 88.03 kB / 0.5605 GB, free: 14.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7501, allocations: 0 / 0.5605 GB, free: 14.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.7504, allocations: 27.75 kB / 0.5605 GB, free: 14.38 MB / 394.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 () * 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.000351/0.7508, allocations: 0.6915 MB / 0.5612 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.7509, allocations: 25.94 kB / 0.5612 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7509, allocations: 0 / 0.5612 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.7509, allocations: 11.25 kB / 0.5612 GB, free: 13.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.7512, allocations: 12.83 kB / 0.5612 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.752, allocations: 258.3 kB / 0.5615 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.7522, allocations: 0.7382 MB / 0.5622 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.7523, allocations: 1.312 kB / 0.5622 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.7523, allocations: 49.73 kB / 0.5623 GB, free: 12.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.214e-06/0.7523, allocations: 0 / 0.5623 GB, free: 12.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01472/0.7671, allocations: 1.712 MB / 0.5639 GB, free: 11.64 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.7673, allocations: 136.3 kB / 0.5641 GB, free: 11.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.279, allocations: 0 / 0.5641 GB, free: 11.41 MB / 394.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