Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 93.38 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1826/0.1826, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.536e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 61.9 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5689, allocations: 86.2 MB / 0.5789 GB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5692, allocations: 71.95 kB / 0.579 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0045/0.5737, allocations: 1.743 MB / 0.5807 GB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5737, allocations: 0 / 0.5807 GB, free: 8.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5737, allocations: 0 / 0.5807 GB, free: 8.48 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005345/0.5743, allocations: 406.3 kB / 0.5811 GB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5743, allocations: 11.98 kB / 0.5811 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.5744, allocations: 7.906 kB / 0.5811 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.5745, allocations: 182.8 kB / 0.5813 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5745, allocations: 8 kB / 0.5813 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.5746, allocations: 11.95 kB / 0.5813 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/0.5747, allocations: 48 kB / 0.5813 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.5749, allocations: 81.67 kB / 0.5814 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5749, allocations: 0 / 0.5814 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.5749, allocations: 0 / 0.5814 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5749, allocations: 7.984 kB / 0.5814 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.5756, allocations: 447.8 kB / 0.5819 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.5758, allocations: 62.56 kB / 0.5819 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.5759, allocations: 36.98 kB / 0.582 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5759, allocations: 0 / 0.582 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.5759, allocations: 30.56 kB / 0.582 GB, free: 7.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.5759, allocations: 3.828 kB / 0.582 GB, free: 7.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002668/0.5762, allocations: 90.34 kB / 0.5821 GB, free: 6.914 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.5762, allocations: 59.41 kB / 0.5821 GB, free: 6.844 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.5763, allocations: 101.9 kB / 0.5822 GB, free: 6.734 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5763, allocations: 25.7 kB / 0.5823 GB, free: 6.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.5764, allocations: 107.9 kB / 0.5824 GB, free: 6.594 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.5764, allocations: 23.64 kB / 0.5824 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.5764, allocations: 0 / 0.5824 GB, free: 6.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.5765, allocations: 318.8 kB / 0.5827 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.5766, allocations: 12.38 kB / 0.5827 GB, free: 6.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.5766, allocations: 29.72 kB / 0.5827 GB, free: 6.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.5767, allocations: 15.98 kB / 0.5827 GB, free: 6.188 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5767, allocations: 0 / 0.5827 GB, free: 6.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.5768, allocations: 94.38 kB / 0.5828 GB, free: 6.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.5769, allocations: 4 kB / 0.5828 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5769, allocations: 4 kB / 0.5828 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.577, allocations: 20.84 kB / 0.5829 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.5772, allocations: 31.95 kB / 0.5829 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/0.5781, allocations: 1.256 MB / 0.5841 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5782, allocations: 23.95 kB / 0.5841 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.5782, allocations: 128 / 0.5841 GB, free: 4.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.5783, allocations: 108.9 kB / 0.5842 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001583/0.5785, allocations: 94.44 kB / 0.5843 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5785, allocations: 7.906 kB / 0.5843 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.5786, allocations: 8.625 kB / 0.5843 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.5786, allocations: 0 / 0.5843 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5786, allocations: 3.953 kB / 0.5843 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5786, allocations: 4 kB / 0.5844 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.579, allocations: 340.8 kB / 0.5847 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.579, allocations: 0 / 0.5847 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5791, allocations: 31.95 kB / 0.5847 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.5792, allocations: 24.84 kB / 0.5847 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.5792, allocations: 0 / 0.5847 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007769/0.58, allocations: 1.245 MB / 0.5859 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.58, allocations: 2.953 kB / 0.586 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.5802, allocations: 207 kB / 0.5861 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.5802, allocations: 89.02 kB / 0.5862 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.5802, allocations: 4 kB / 0.5862 GB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5804, allocations: 15.98 kB / 0.5863 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.5804, allocations: 11.98 kB / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5804, allocations: 0 / 0.5863 GB, free: 2.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.5805, allocations: 91.28 kB / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5805, allocations: 0 / 0.5864 GB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.5808, allocations: 20 kB / 0.5864 GB, free: 2.105 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004577/0.5812, allocations: 0.8001 MB / 0.5872 GB, free: 1.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.5815, allocations: 145.7 kB / 0.5873 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5815, allocations: 288 / 0.5873 GB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.5816, allocations: 125.8 kB / 0.5874 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5818, allocations: 18.11 kB / 0.5874 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.5823, allocations: 158.8 kB / 0.5876 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.5825, allocations: 0.7079 MB / 0.5883 GB, free: 36 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.5826, allocations: 4.188 kB / 0.5883 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.5826, allocations: 23.42 kB / 0.5883 GB, free: 8 kB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5826, allocations: 0 / 0.5883 GB, free: 8 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.6016, allocations: 1.506 MB / 0.5898 GB, free: 14.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.6019, allocations: 152 kB / 0.5899 GB, free: 14.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.113, allocations: 11.97 kB / 0.5899 GB, free: 14.3 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat