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.001344/0.001343, 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.365/1.365, 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.0009953/0.0009951, allocations: 94.92 kB / 287 MB, free: 244 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.2132/0.2132, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.728e-05, allocations: 8 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1264, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5732, allocations: 90.12 MB / 0.5898 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5736, allocations: 79.95 kB / 0.5899 GB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.5921, allocations: 6.788 MB / 0.5965 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5921, allocations: 0 / 0.5965 GB, free: 8.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5922, allocations: 4 kB / 0.5965 GB, free: 8.227 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.0008478/0.593, allocations: 0.5226 MB / 0.597 GB, free: 7.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5931, allocations: 12.03 kB / 0.597 GB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.5931, allocations: 58.48 kB / 0.5971 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.5932, allocations: 31.62 kB / 0.5971 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.5936, allocations: 282.9 kB / 0.5974 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.5937, allocations: 24.56 kB / 0.5974 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.5937, allocations: 27.95 kB / 0.5974 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.5942, allocations: 224.9 kB / 0.5977 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5942, allocations: 0 / 0.5977 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.5942, allocations: 4 kB / 0.5977 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5943, allocations: 8 kB / 0.5977 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.5946, allocations: 206.2 kB / 0.5979 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.596, allocations: 0.887 MB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.5967, allocations: 325 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.5969, allocations: 128.9 kB / 0.5992 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.597, allocations: 7.984 kB / 0.5992 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.597, allocations: 30.56 kB / 0.5992 GB, free: 5.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.597, allocations: 7.938 kB / 0.5992 GB, free: 5.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001708/0.5987, allocations: 0.4891 MB / 0.5997 GB, free: 4.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5988, allocations: 59.36 kB / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.599, allocations: 188.9 kB / 0.5999 GB, free: 4.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.599, allocations: 33.7 kB / 0.6 GB, free: 4.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5991, allocations: 160.8 kB / 0.6001 GB, free: 4.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.5992, allocations: 106.5 kB / 0.6002 GB, free: 4.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.5992, allocations: 4 kB / 0.6002 GB, free: 4.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5994, allocations: 342.8 kB / 0.6005 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5995, allocations: 75.86 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.5997, allocations: 110 kB / 0.6007 GB, free: 3.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.5999, allocations: 97.31 kB / 0.6008 GB, free: 3.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5999, allocations: 0 / 0.6008 GB, free: 3.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001601/0.6015, allocations: 0.5102 MB / 0.6013 GB, free: 3.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.6015, allocations: 4 kB / 0.6013 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6015, allocations: 4 kB / 0.6013 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.6032, allocations: 311.2 kB / 0.6016 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6033, allocations: 35.91 kB / 0.6017 GB, free: 2.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0069/0.6103, allocations: 6.367 MB / 0.6079 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.6105, allocations: 31.92 kB / 0.6079 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.6105, allocations: 8 kB / 0.6079 GB, free: 11.74 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 () * 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.0001298/0.6107, allocations: 113 kB / 0.608 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.6107, allocations: 27.67 kB / 0.608 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.6124, allocations: 0.5307 MB / 0.6086 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6124, allocations: 4 kB / 0.6086 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.6124, allocations: 0 / 0.6086 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6124, allocations: 0 / 0.6086 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.6129, allocations: 349.3 kB / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6129, allocations: 0 / 0.6089 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.613, allocations: 19.98 kB / 0.6089 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.6145, allocations: 319.1 kB / 0.6092 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.6145, allocations: 4 kB / 0.6092 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006747/0.6213, allocations: 6.304 MB / 0.6154 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6213, allocations: 0 / 0.6154 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.6231, allocations: 0.6002 MB / 0.616 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.6232, allocations: 108.8 kB / 0.6161 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.6232, allocations: 4 kB / 0.6161 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.6234, allocations: 12 kB / 0.6161 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.6236, allocations: 35.94 kB / 0.6161 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.6236, allocations: 8 kB / 0.6161 GB, free: 2.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.6238, allocations: 153.4 kB / 0.6163 GB, free: 2.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6238, allocations: 0 / 0.6163 GB, free: 2.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005927/0.6244, allocations: 123.8 kB / 0.6164 GB, free: 2.387 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.001951/0.6264, allocations: 1.152 MB / 0.6175 GB, free: 1.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.6274, allocations: 0.6974 MB / 0.6182 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6274, allocations: 0 / 0.6182 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000958/0.6284, allocations: 0.6588 MB / 0.6188 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.6287, allocations: 13.38 kB / 0.6189 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.6297, allocations: 411.7 kB / 0.6192 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.6302, allocations: 0.7833 MB / 0.62 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.6302, allocations: 6.094 kB / 0.62 GB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.6303, allocations: 75.41 kB / 0.6201 GB, free: 14.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6304, allocations: 0 / 0.6201 GB, free: 14.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.6574, allocations: 10.33 MB / 0.6302 GB, free: 4.219 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.6576, allocations: 180.5 kB / 0.6303 GB, free: 4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.978, allocations: 0 / 0.6303 GB, free: 4 MB / 442.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