Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.001124/0.001124, 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.476/1.476, 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.0009361/0.0009361, allocations: 86.11 kB / 292.1 MB, free: 10.93 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.3649/0.3649, allocations: 44.21 MB / 387.5 MB, free: 39.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 8 kB / 460 MB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4685, allocations: 90.19 MB / 0.5977 GB, free: 4.945 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.4687, allocations: 83.92 kB / 0.5978 GB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.4872, allocations: 6.803 MB / 0.6044 GB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4872, allocations: 0 / 0.6044 GB, free: 14.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4872, allocations: 4 kB / 0.6044 GB, free: 14.04 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.0009233/0.4882, allocations: 0.5582 MB / 0.605 GB, free: 13.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4882, allocations: 8.031 kB / 0.605 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.883e-05/0.4883, allocations: 62.53 kB / 0.6051 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.4884, allocations: 39.62 kB / 0.6051 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.4888, allocations: 270.6 kB / 0.6054 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.4888, allocations: 20.56 kB / 0.6054 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.4889, allocations: 31.89 kB / 0.6054 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.4894, allocations: 248.8 kB / 0.6056 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4894, allocations: 4 kB / 0.6056 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.4894, allocations: 8 kB / 0.6057 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4895, allocations: 8 kB / 0.6057 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/0.49, allocations: 234.1 kB / 0.6059 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.4915, allocations: 0.8894 MB / 0.6068 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.4923, allocations: 342.5 kB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.4923, allocations: 8 kB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4923, allocations: 34.56 kB / 0.6071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.4924, allocations: 0 / 0.6071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.00473/0.4971, allocations: 1.239 MB / 0.6083 GB, free: 9.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.4972, allocations: 59.36 kB / 0.6084 GB, free: 9.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4974, allocations: 192.2 kB / 0.6086 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.4975, allocations: 33.7 kB / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4976, allocations: 157.1 kB / 0.6088 GB, free: 9.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4977, allocations: 114.4 kB / 0.6089 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.4978, allocations: 7.938 kB / 0.6089 GB, free: 9.203 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.498, allocations: 334.8 kB / 0.6092 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.4982, allocations: 95.95 kB / 0.6093 GB, free: 8.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.4985, allocations: 125.9 kB / 0.6094 GB, free: 8.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.4988, allocations: 113.3 kB / 0.6095 GB, free: 8.531 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4988, allocations: 0 / 0.6095 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001898/0.5007, allocations: 0.5531 MB / 0.61 GB, free: 7.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.5007, allocations: 5.406 kB / 0.6101 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5008, allocations: 0 / 0.6101 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.5025, allocations: 311.2 kB / 0.6104 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.5027, allocations: 35.97 kB / 0.6104 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007663/0.5104, allocations: 6.413 MB / 0.6166 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.5107, allocations: 35.67 kB / 0.6167 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.5108, allocations: 12 kB / 0.6167 GB, free: 0.6172 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.511, allocations: 137.8 kB / 0.6168 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.511, allocations: 27.67 kB / 0.6169 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.5131, allocations: 0.562 MB / 0.6174 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.5131, allocations: 4 kB / 0.6174 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5131, allocations: 4 kB / 0.6174 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5131, allocations: 0 / 0.6174 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.5138, allocations: 349.2 kB / 0.6177 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5138, allocations: 0 / 0.6177 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.514, allocations: 19.98 kB / 0.6178 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.5162, allocations: 315.3 kB / 0.6181 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.5162, allocations: 15.98 kB / 0.6181 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/0.5263, allocations: 6.347 MB / 0.6243 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5263, allocations: 3.938 kB / 0.6243 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.529, allocations: 0.6235 MB / 0.6249 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.5291, allocations: 100.8 kB / 0.625 GB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.5292, allocations: 19.86 kB / 0.625 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.5295, allocations: 12 kB / 0.625 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/0.5297, allocations: 39.88 kB / 0.6251 GB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.5298, allocations: 8 kB / 0.6251 GB, free: 7.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.53, allocations: 160.5 kB / 0.6252 GB, free: 7.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5301, allocations: 0 / 0.6252 GB, free: 7.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008346/0.5309, allocations: 115.8 kB / 0.6253 GB, free: 7.109 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003415/0.5343, allocations: 1.188 MB / 0.6265 GB, free: 5.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.5362, allocations: 0.7446 MB / 0.6272 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5363, allocations: 0 / 0.6272 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.538, allocations: 0.6744 MB / 0.6279 GB, free: 4.355 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5384, allocations: 16.42 kB / 0.6279 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.5451, allocations: 1.949 MB / 0.6298 GB, free: 2.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.5457, allocations: 0.7794 MB / 0.6305 GB, free: 1.508 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.5458, allocations: 9.953 kB / 0.6306 GB, free: 1.492 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.546, allocations: 79.47 kB / 0.6306 GB, free: 1.418 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/0.546, allocations: 0 / 0.6306 GB, free: 1.418 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.588, allocations: 9.946 MB / 0.6403 GB, free: 7.688 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.5884, allocations: 212.6 kB / 0.6405 GB, free: 7.445 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.906, allocations: 0 / 0.6405 GB, free: 7.445 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat