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.001478/0.001478, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.684/1.684, allocations: 221.3 MB / 236 MB, free: 2.953 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.001035/0.001035, allocations: 94.73 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.15 MB / 382.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.003e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 61.9 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.562, allocations: 90.05 MB / 0.5897 GB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.5625, allocations: 83.73 kB / 0.5898 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.5857, allocations: 9.234 MB / 0.5988 GB, free: 5.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.379e-06/0.5857, allocations: 0 / 0.5988 GB, free: 5.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.5857, allocations: 7.938 kB / 0.5988 GB, free: 5.789 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001105/0.5869, allocations: 0.5529 MB / 0.5994 GB, free: 5.191 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5869, allocations: 12.03 kB / 0.5994 GB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.587, allocations: 58.48 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.5874, allocations: 51.77 kB / 0.5995 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.5875, allocations: 189.5 kB / 0.5997 GB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.5876, allocations: 20.56 kB / 0.5997 GB, free: 4.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.5876, allocations: 27.95 kB / 0.5997 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.5881, allocations: 251.5 kB / 0.6 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5882, allocations: 7.984 kB / 0.6 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.5882, allocations: 8 kB / 0.6 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5882, allocations: 8 kB / 0.6 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.5885, allocations: 177.7 kB / 0.6002 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.5901, allocations: 1.021 MB / 0.6012 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.5905, allocations: 348.5 kB / 0.6015 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.5907, allocations: 113.7 kB / 0.6016 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.5909, allocations: 89.05 kB / 0.6017 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.5909, allocations: 30.56 kB / 0.6017 GB, free: 2.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.5909, allocations: 0 / 0.6017 GB, free: 2.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004938/0.5914, allocations: 196.7 kB / 0.6019 GB, free: 2.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.5915, allocations: 89.03 kB / 0.602 GB, free: 2.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5916, allocations: 126.7 kB / 0.6021 GB, free: 2.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5916, allocations: 33.7 kB / 0.6021 GB, free: 2.109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.5917, allocations: 140.2 kB / 0.6023 GB, free: 1.969 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.5918, allocations: 63.02 kB / 0.6023 GB, free: 1.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.5918, allocations: 4 kB / 0.6023 GB, free: 1.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.592, allocations: 326.9 kB / 0.6026 GB, free: 1.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.5921, allocations: 55.88 kB / 0.6027 GB, free: 1.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.5922, allocations: 91.53 kB / 0.6028 GB, free: 1.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.5923, allocations: 57.08 kB / 0.6028 GB, free: 1.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5923, allocations: 0 / 0.6028 GB, free: 1.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003913/0.5927, allocations: 228.1 kB / 0.6031 GB, free: 1.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5927, allocations: 8 kB / 0.6031 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5927, allocations: 0 / 0.6031 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.593, allocations: 57.62 kB / 0.6031 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5932, allocations: 48.09 kB / 0.6032 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.5954, allocations: 2.651 MB / 0.6058 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5956, allocations: 39.78 kB / 0.6058 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5956, allocations: 12.06 kB / 0.6058 GB, free: 14.04 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 () * 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.0001122/0.5957, allocations: 105 kB / 0.6059 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.5958, allocations: 15.86 kB / 0.6059 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.5962, allocations: 225.3 kB / 0.6061 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5963, allocations: 4 kB / 0.6061 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5963, allocations: 4 kB / 0.6061 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5963, allocations: 3.953 kB / 0.6061 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009713/0.5973, allocations: 0.6146 MB / 0.6067 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.5973, allocations: 8.062 kB / 0.6068 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5975, allocations: 35.97 kB / 0.6068 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.5976, allocations: 49.69 kB / 0.6068 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5976, allocations: 4 kB / 0.6068 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.5997, allocations: 2.639 MB / 0.6094 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5997, allocations: 8.016 kB / 0.6094 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.6003, allocations: 489.2 kB / 0.6099 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.6003, allocations: 96.94 kB / 0.61 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.6004, allocations: 0 / 0.61 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.6006, allocations: 28.05 kB / 0.61 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.6006, allocations: 27.86 kB / 0.61 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.6007, allocations: 4 kB / 0.61 GB, free: 9.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.888e-05/0.6007, allocations: 108.6 kB / 0.6101 GB, free: 9.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6008, allocations: 0 / 0.6101 GB, free: 9.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.6012, allocations: 75.84 kB / 0.6102 GB, free: 9.102 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (permeance.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.001059/0.6023, allocations: 1.265 MB / 0.6114 GB, free: 7.785 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005441/0.6028, allocations: 376.7 kB / 0.6118 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6028, allocations: 0 / 0.6118 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.6032, allocations: 298.4 kB / 0.6121 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6034, allocations: 12 kB / 0.6121 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.6043, allocations: 390.6 kB / 0.6125 GB, free: 6.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.6047, allocations: 0.7476 MB / 0.6132 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.6048, allocations: 17.2 kB / 0.6132 GB, free: 5.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.6049, allocations: 63.34 kB / 0.6133 GB, free: 5.789 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6049, allocations: 0 / 0.6133 GB, free: 5.789 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.6232, allocations: 4.023 MB / 0.6172 GB, free: 1.906 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.6235, allocations: 195.9 kB / 0.6174 GB, free: 1.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.294, allocations: 0 / 0.6174 GB, free: 1.68 MB / 426.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