Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_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.001315/0.001315, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009774, allocations: 96.78 kB / 292.1 MB, free: 10.89 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.4/0.4, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3613, allocations: 61.9 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4914, allocations: 90.12 MB / 0.5977 GB, free: 4.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4917, allocations: 87.92 kB / 0.5977 GB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02254/0.5143, allocations: 9.271 MB / 0.6068 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5143, allocations: 0 / 0.6068 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.5143, allocations: 4 kB / 0.6068 GB, free: 11.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001126/0.5155, allocations: 0.5653 MB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5155, allocations: 8.031 kB / 0.6074 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/0.5156, allocations: 62.53 kB / 0.6074 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/0.5159, allocations: 51.69 kB / 0.6075 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.5161, allocations: 190.7 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.5162, allocations: 20.56 kB / 0.6077 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.5162, allocations: 31.89 kB / 0.6077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.5168, allocations: 299.4 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.5169, allocations: 0 / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.5169, allocations: 12 kB / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5169, allocations: 8 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.5175, allocations: 245.6 kB / 0.6082 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.5191, allocations: 1.011 MB / 0.6092 GB, free: 8.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.5196, allocations: 387.5 kB / 0.6096 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.5198, allocations: 101 kB / 0.6097 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5198, allocations: 34.56 kB / 0.6097 GB, free: 8.207 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.5198, allocations: 4 kB / 0.6097 GB, free: 8.203 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001223/0.521, allocations: 0.5302 MB / 0.6102 GB, free: 7.625 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5211, allocations: 81.11 kB / 0.6103 GB, free: 7.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5212, allocations: 130.9 kB / 0.6104 GB, free: 7.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.5213, allocations: 29.7 kB / 0.6105 GB, free: 7.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5214, allocations: 144.1 kB / 0.6106 GB, free: 7.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.5214, allocations: 71 kB / 0.6107 GB, free: 7.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.5214, allocations: 0 / 0.6107 GB, free: 7.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5216, allocations: 330.8 kB / 0.611 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.5218, allocations: 83.95 kB / 0.6111 GB, free: 6.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.5221, allocations: 124.2 kB / 0.6112 GB, free: 6.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.5223, allocations: 99.89 kB / 0.6113 GB, free: 6.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5223, allocations: 0 / 0.6113 GB, free: 6.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006349/0.523, allocations: 293.2 kB / 0.6116 GB, free: 6.199 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.523, allocations: 7.953 kB / 0.6116 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.523, allocations: 0 / 0.6116 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5232, allocations: 57.78 kB / 0.6116 GB, free: 6.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5235, allocations: 47.91 kB / 0.6117 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.5255, allocations: 2.651 MB / 0.6143 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5257, allocations: 35.98 kB / 0.6143 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.5258, allocations: 8 kB / 0.6143 GB, free: 3.121 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.5259, allocations: 137.8 kB / 0.6144 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.526, allocations: 16.33 kB / 0.6144 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.5267, allocations: 296.5 kB / 0.6147 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5267, allocations: 7.938 kB / 0.6147 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5267, allocations: 0 / 0.6147 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5267, allocations: 3.953 kB / 0.6147 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5279, allocations: 0.6576 MB / 0.6154 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5279, allocations: 0 / 0.6154 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.5281, allocations: 47.97 kB / 0.6154 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.5283, allocations: 45.64 kB / 0.6155 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.5283, allocations: 8 kB / 0.6155 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/0.5303, allocations: 2.65 MB / 0.6181 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5303, allocations: 0 / 0.6181 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.5313, allocations: 0.5734 MB / 0.6186 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.5313, allocations: 92.95 kB / 0.6187 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.5314, allocations: 7.984 kB / 0.6187 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.5316, allocations: 15.98 kB / 0.6187 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.5316, allocations: 19.97 kB / 0.6188 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5316, allocations: 4 kB / 0.6188 GB, free: 14.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.5317, allocations: 113.5 kB / 0.6189 GB, free: 14.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5317, allocations: 0 / 0.6189 GB, free: 14.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.5322, allocations: 75.78 kB / 0.6189 GB, free: 13.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (permeance.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.5336, allocations: 1.197 MB / 0.6201 GB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008122/0.5344, allocations: 449.2 kB / 0.6205 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5344, allocations: 0 / 0.6205 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.5349, allocations: 345.3 kB / 0.6209 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.5351, allocations: 8 kB / 0.6209 GB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5376, allocations: 1.861 MB / 0.6227 GB, free: 9.965 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.538, allocations: 0.7399 MB / 0.6234 GB, free: 9.199 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.5381, allocations: 17.42 kB / 0.6234 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5382, allocations: 59.48 kB / 0.6235 GB, free: 9.125 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5382, allocations: 0 / 0.6235 GB, free: 9.125 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.5565, allocations: 3.906 MB / 0.6273 GB, free: 5.426 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5568, allocations: 224.6 kB / 0.6275 GB, free: 5.184 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.326, allocations: 0 / 0.6275 GB, free: 5.184 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat does not exist to compare? outputFormat=mat