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.001345/0.001345, allocations: 169.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.473/1.473, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009137/0.0009137, allocations: 91 kB / 281.6 MB, free: 5.277 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.196/0.196, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.311e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6593, allocations: 89.38 MB / 0.5821 GB, free: 7.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.6596, allocations: 83.94 kB / 0.5821 GB, free: 6.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.6817, allocations: 9.133 MB / 0.5911 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6817, allocations: 0 / 0.5911 GB, free: 13.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.6817, allocations: 4 kB / 0.5911 GB, free: 13.74 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.001211/0.683, allocations: 0.5568 MB / 0.5916 GB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/0.683, allocations: 11.98 kB / 0.5916 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.6834, allocations: 59.7 kB / 0.5917 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.6836, allocations: 182.7 kB / 0.5918 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.6836, allocations: 12 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.6836, allocations: 19.95 kB / 0.5919 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003137/0.6839, allocations: 161.1 kB / 0.592 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.6843, allocations: 218.4 kB / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6843, allocations: 0 / 0.5922 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.6844, allocations: 4 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6844, allocations: 4 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.6859, allocations: 0.9658 MB / 0.5932 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.6863, allocations: 348.7 kB / 0.5935 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.6865, allocations: 103 kB / 0.5936 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.6867, allocations: 89.09 kB / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.6867, allocations: 38.52 kB / 0.5937 GB, free: 10.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.6867, allocations: 0 / 0.5937 GB, free: 10.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000553/0.6873, allocations: 207.4 kB / 0.5939 GB, free: 10.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.6873, allocations: 81.08 kB / 0.594 GB, free: 10.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.6874, allocations: 117.9 kB / 0.5941 GB, free: 10.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.6875, allocations: 25.7 kB / 0.5942 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.6876, allocations: 148.1 kB / 0.5943 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.6876, allocations: 67 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.6876, allocations: 0 / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6878, allocations: 326.8 kB / 0.5947 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.6878, allocations: 40 kB / 0.5947 GB, free: 9.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-05/0.6879, allocations: 88.28 kB / 0.5948 GB, free: 9.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.6882, allocations: 77.3 kB / 0.5949 GB, free: 9.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6882, allocations: 4 kB / 0.5949 GB, free: 9.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004607/0.6886, allocations: 236.3 kB / 0.5951 GB, free: 9.281 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6887, allocations: 8.094 kB / 0.5951 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6887, allocations: 7.938 kB / 0.5951 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.6889, allocations: 45.66 kB / 0.5952 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.6891, allocations: 47.91 kB / 0.5952 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.6911, allocations: 2.548 MB / 0.5977 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6913, allocations: 23.83 kB / 0.5977 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6913, allocations: 12 kB / 0.5977 GB, free: 6.355 MB / 410.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 9.59e-05/0.6914, allocations: 113 kB / 0.5978 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004571/0.6919, allocations: 212.5 kB / 0.598 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.6919, allocations: 15.8 kB / 0.598 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.6924, allocations: 232.1 kB / 0.5983 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6924, allocations: 4 kB / 0.5983 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6924, allocations: 4 kB / 0.5983 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6924, allocations: 0 / 0.5983 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/0.6934, allocations: 0.5762 MB / 0.5988 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6934, allocations: 0 / 0.5988 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.6936, allocations: 43.97 kB / 0.5989 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.6937, allocations: 45.64 kB / 0.5989 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.6937, allocations: 4 kB / 0.5989 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.6954, allocations: 2.536 MB / 0.6014 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6954, allocations: 0 / 0.6014 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.696, allocations: 0.4885 MB / 0.6019 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.6961, allocations: 92.95 kB / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6961, allocations: 0 / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.6963, allocations: 24.03 kB / 0.602 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.6964, allocations: 23.92 kB / 0.602 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.6964, allocations: 8 kB / 0.602 GB, free: 1.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.6964, allocations: 97.03 kB / 0.6021 GB, free: 1.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6965, allocations: 0 / 0.6021 GB, free: 1.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004315/0.6969, allocations: 71.77 kB / 0.6022 GB, free: 1.398 MB / 410.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.001003/0.6979, allocations: 1.264 MB / 0.6034 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004792/0.6984, allocations: 345 kB / 0.6037 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6984, allocations: 3.938 kB / 0.6038 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.6986, allocations: 283.4 kB / 0.604 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.6989, allocations: 11.94 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008044/0.6997, allocations: 365.9 kB / 0.6044 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.7, allocations: 0.7476 MB / 0.6051 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.041e-05/0.7001, allocations: 17.2 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.7002, allocations: 55.41 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7002, allocations: 4 kB / 0.6052 GB, free: 14.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.7212, allocations: 3.249 MB / 0.6084 GB, free: 10.92 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.7214, allocations: 160.9 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.31, allocations: 3.938 kB / 0.6085 GB, free: 10.73 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