Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008125/0.0008125, allocations: 90.64 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1882/0.1882, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.082e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08852, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.4141, allocations: 91.34 MB / 0.6007 GB, free: 2.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4143, allocations: 78.02 kB / 0.6007 GB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0182/0.4325, allocations: 7.112 MB / 0.6077 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4325, allocations: 3.984 kB / 0.6077 GB, free: 12.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.4326, allocations: 4 kB / 0.6077 GB, free: 12.38 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.0008844/0.4335, allocations: 0.5324 MB / 0.6082 GB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4335, allocations: 15.97 kB / 0.6082 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.4336, allocations: 68.03 kB / 0.6083 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.4337, allocations: 39.53 kB / 0.6083 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4341, allocations: 284.4 kB / 0.6086 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4342, allocations: 15.62 kB / 0.6086 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.4342, allocations: 23.81 kB / 0.6086 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.4346, allocations: 226.5 kB / 0.6089 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.4346, allocations: 4 kB / 0.6089 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.4347, allocations: 10.06 kB / 0.6089 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4347, allocations: 8 kB / 0.6089 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.435, allocations: 201.3 kB / 0.6091 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.4363, allocations: 0.8792 MB / 0.6099 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.4369, allocations: 335.5 kB / 0.6102 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.4371, allocations: 125.9 kB / 0.6104 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.4372, allocations: 7.984 kB / 0.6104 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4372, allocations: 42.39 kB / 0.6104 GB, free: 9.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.4372, allocations: 0 / 0.6104 GB, free: 9.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001628/0.4388, allocations: 0.5033 MB / 0.6109 GB, free: 9.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.4389, allocations: 55.41 kB / 0.611 GB, free: 9.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.4391, allocations: 203.5 kB / 0.6112 GB, free: 9.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4391, allocations: 29.08 kB / 0.6112 GB, free: 9.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.4392, allocations: 163.6 kB / 0.6113 GB, free: 9.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.4393, allocations: 100 kB / 0.6114 GB, free: 9.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.4393, allocations: 15 kB / 0.6114 GB, free: 9.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4394, allocations: 336.8 kB / 0.6118 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4396, allocations: 78.62 kB / 0.6118 GB, free: 8.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.4397, allocations: 113.3 kB / 0.612 GB, free: 8.582 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4399, allocations: 94.75 kB / 0.612 GB, free: 8.523 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4399, allocations: 0 / 0.612 GB, free: 8.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001515/0.4414, allocations: 0.5285 MB / 0.6126 GB, free: 8.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4414, allocations: 9.25 kB / 0.6126 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4415, allocations: 0 / 0.6126 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.4429, allocations: 312 kB / 0.6129 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.4431, allocations: 35.91 kB / 0.6129 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.4491, allocations: 6.373 MB / 0.6191 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4494, allocations: 27.05 kB / 0.6191 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.4494, allocations: 11.19 kB / 0.6192 GB, free: 1.469 MB / 410.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 (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 9.443e-05/0.4495, allocations: 123.9 kB / 0.6193 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.4495, allocations: 23.97 kB / 0.6193 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.4511, allocations: 0.5218 MB / 0.6198 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.4512, allocations: 8 kB / 0.6198 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4512, allocations: 4 kB / 0.6198 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4512, allocations: 0 / 0.6198 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.4516, allocations: 369 kB / 0.6202 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4516, allocations: 0 / 0.6202 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.4517, allocations: 23.42 kB / 0.6202 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.4531, allocations: 309.2 kB / 0.6205 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.4531, allocations: 3.375 kB / 0.6205 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00628/0.4594, allocations: 6.312 MB / 0.6267 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4595, allocations: 3.953 kB / 0.6267 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.4611, allocations: 0.5957 MB / 0.6272 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.4612, allocations: 100.8 kB / 0.6273 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.4613, allocations: 11 kB / 0.6274 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.4615, allocations: 15.3 kB / 0.6274 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.4616, allocations: 31.84 kB / 0.6274 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.4616, allocations: 7.75 kB / 0.6274 GB, free: 9.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.4618, allocations: 172.1 kB / 0.6276 GB, free: 9.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4618, allocations: 0 / 0.6276 GB, free: 9.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.4624, allocations: 125.8 kB / 0.6277 GB, free: 9.098 MB / 426.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 () * 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.001789/0.4642, allocations: 1.154 MB / 0.6288 GB, free: 8.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.465, allocations: 0.7125 MB / 0.6295 GB, free: 7.352 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4651, allocations: 0 / 0.6295 GB, free: 7.352 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.4658, allocations: 0.6441 MB / 0.6301 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.4661, allocations: 19.14 kB / 0.6302 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.4669, allocations: 432.5 kB / 0.6306 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4672, allocations: 0.7872 MB / 0.6313 GB, free: 5.492 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.4672, allocations: 6.094 kB / 0.6313 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.4673, allocations: 82.72 kB / 0.6314 GB, free: 5.465 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4673, allocations: 0 / 0.6314 GB, free: 5.465 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.4919, allocations: 10.53 MB / 0.6417 GB, free: 11.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.4921, allocations: 179.2 kB / 0.6419 GB, free: 10.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.548, allocations: 0 / 0.6419 GB, free: 10.93 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat