Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002018/0.002018, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 86.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2247/0.2247, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.304e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5677, allocations: 87.48 MB / 0.5514 GB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5679, allocations: 77.17 kB / 0.5515 GB, free: 7.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5833, allocations: 6.512 MB / 0.5579 GB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5834, allocations: 0 / 0.5579 GB, free: 2.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.5834, allocations: 4 kB / 0.5579 GB, free: 2.082 MB / 362.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.0007317/0.5841, allocations: 0.5402 MB / 0.5584 GB, free: 1.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5842, allocations: 12.03 kB / 0.5584 GB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.5843, allocations: 27.62 kB / 0.5585 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.5846, allocations: 268 kB / 0.5587 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.5847, allocations: 8 kB / 0.5587 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.5847, allocations: 20 kB / 0.5587 GB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000328/0.5851, allocations: 188.4 kB / 0.5589 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.5854, allocations: 191.3 kB / 0.5591 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5854, allocations: 0 / 0.5591 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.5854, allocations: 0 / 0.5591 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5854, allocations: 4 kB / 0.5591 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.5866, allocations: 0.8327 MB / 0.5599 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.5872, allocations: 299.7 kB / 0.5602 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.5874, allocations: 125.2 kB / 0.5603 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.5874, allocations: 7.938 kB / 0.5603 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.5875, allocations: 34.5 kB / 0.5604 GB, free: 15.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.5875, allocations: 0 / 0.5604 GB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001669/0.5891, allocations: 480.3 kB / 0.5608 GB, free: 15.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.5892, allocations: 55.41 kB / 0.5609 GB, free: 15.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5894, allocations: 176.8 kB / 0.561 GB, free: 15.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.5894, allocations: 25.7 kB / 0.5611 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.5895, allocations: 165.1 kB / 0.5612 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.5896, allocations: 101.1 kB / 0.5613 GB, free: 15.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.5896, allocations: 0 / 0.5613 GB, free: 15.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5897, allocations: 337.4 kB / 0.5616 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.5899, allocations: 70.88 kB / 0.5617 GB, free: 14.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.59, allocations: 100.7 kB / 0.5618 GB, free: 14.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.5902, allocations: 82.31 kB / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5902, allocations: 0 / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001577/0.5918, allocations: 496.9 kB / 0.5624 GB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5918, allocations: 7.984 kB / 0.5624 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5918, allocations: 4 kB / 0.5624 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.5935, allocations: 312.9 kB / 0.5627 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5937, allocations: 27.98 kB / 0.5627 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.6004, allocations: 6.121 MB / 0.5687 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.6007, allocations: 16.62 kB / 0.5687 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6007, allocations: 11.98 kB / 0.5687 GB, free: 7.785 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real 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.0002091/0.6009, allocations: 118.2 kB / 0.5688 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001595/0.6025, allocations: 466.6 kB / 0.5693 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.6026, allocations: 27.67 kB / 0.5693 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.6042, allocations: 0.4982 MB / 0.5698 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.6042, allocations: 4 kB / 0.5698 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.6042, allocations: 0 / 0.5698 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6042, allocations: 0 / 0.5698 GB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.6046, allocations: 307.1 kB / 0.5701 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6047, allocations: 7.938 kB / 0.5701 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.6048, allocations: 31.84 kB / 0.5701 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.6063, allocations: 313.6 kB / 0.5704 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6063, allocations: 0 / 0.5704 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/0.6127, allocations: 6.041 MB / 0.5763 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.6127, allocations: 4.031 kB / 0.5763 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.6143, allocations: 0.5605 MB / 0.5768 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.6145, allocations: 112.6 kB / 0.577 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.6145, allocations: 0 / 0.577 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.6147, allocations: 15.98 kB / 0.577 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6148, allocations: 31.33 kB / 0.577 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6148, allocations: 8 kB / 0.577 GB, free: 15.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.615, allocations: 148.1 kB / 0.5772 GB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.615, allocations: 0 / 0.5772 GB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.6155, allocations: 103.8 kB / 0.5773 GB, free: 15.43 MB / 394.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.001999/0.6175, allocations: 1.114 MB / 0.5783 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.6186, allocations: 0.6877 MB / 0.579 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6186, allocations: 0 / 0.579 GB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.6195, allocations: 0.6106 MB / 0.5796 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6198, allocations: 11.95 kB / 0.5796 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.6207, allocations: 383.2 kB / 0.58 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.6211, allocations: 0.7794 MB / 0.5807 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.734e-05/0.6212, allocations: 6.094 kB / 0.5807 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.6213, allocations: 75.97 kB / 0.5808 GB, free: 11.94 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6213, allocations: 4 kB / 0.5808 GB, free: 11.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.6555, allocations: 9.408 MB / 0.59 GB, free: 2.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.6558, allocations: 134.1 kB / 0.5901 GB, free: 2.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.851, allocations: 0 / 0.5901 GB, free: 2.375 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat