Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00147/0.00147, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3474/0.3474, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.737e-05, allocations: 224 / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4127, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5808, allocations: 87.47 MB / 0.5514 GB, free: 11.72 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5811, allocations: 71.95 kB / 0.5515 GB, free: 11.65 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.6112, allocations: 6.504 MB / 0.5578 GB, free: 5.125 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.6112, allocations: 0 / 0.5578 GB, free: 5.125 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.6113, allocations: 7.938 kB / 0.5579 GB, free: 5.117 MB / 395.1 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.001248/0.6125, allocations: 0.5348 MB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.6126, allocations: 12.03 kB / 0.5584 GB, free: 4.527 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.6127, allocations: 35.62 kB / 0.5584 GB, free: 4.492 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.6133, allocations: 271 kB / 0.5587 GB, free: 4.188 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6134, allocations: 8 kB / 0.5587 GB, free: 4.18 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.6134, allocations: 16 kB / 0.5587 GB, free: 4.164 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006122/0.6141, allocations: 193 kB / 0.5589 GB, free: 3.973 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.6146, allocations: 191.8 kB / 0.5591 GB, free: 3.777 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6147, allocations: 0 / 0.5591 GB, free: 3.777 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.6147, allocations: 4 kB / 0.5591 GB, free: 3.773 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6147, allocations: 8 kB / 0.5591 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.6169, allocations: 0.8279 MB / 0.5599 GB, free: 2.887 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.6181, allocations: 298.8 kB / 0.5602 GB, free: 2.582 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.6184, allocations: 124.8 kB / 0.5603 GB, free: 2.457 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.6185, allocations: 7.938 kB / 0.5603 GB, free: 2.449 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.6186, allocations: 42.5 kB / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/0.6186, allocations: 0 / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of matching and sorting (n=31): time 0.002898/0.6215, allocations: 468.8 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6216, allocations: 59.41 kB / 0.5608 GB, free: 1.852 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.6219, allocations: 175.9 kB / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.6219, allocations: 33.64 kB / 0.561 GB, free: 1.637 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6221, allocations: 215.4 kB / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.6222, allocations: 98.47 kB / 0.5613 GB, free: 1.328 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.6222, allocations: 0 / 0.5613 GB, free: 1.328 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6224, allocations: 318.8 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.6226, allocations: 80 kB / 0.5617 GB, free: 0.9297 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.6229, allocations: 101.8 kB / 0.5618 GB, free: 0.8203 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.6232, allocations: 81.38 kB / 0.5619 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6232, allocations: 0 / 0.5619 GB, free: 0.7422 MB / 395.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002813/0.626, allocations: 486.6 kB / 0.5624 GB, free: 256 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.6261, allocations: 11.98 kB / 0.5624 GB, free: 244 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6261, allocations: 0 / 0.5624 GB, free: 244 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/0.6289, allocations: 307.2 kB / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.6293, allocations: 27.92 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009937/0.6393, allocations: 6.122 MB / 0.5687 GB, free: 9.309 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.6397, allocations: 20.62 kB / 0.5687 GB, free: 9.289 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.6398, allocations: 11.98 kB / 0.5687 GB, free: 9.277 MB / 411.1 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.0002358/0.64, allocations: 112.9 kB / 0.5688 GB, free: 9.16 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002737/0.6428, allocations: 480.3 kB / 0.5693 GB, free: 8.672 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.6429, allocations: 27.67 kB / 0.5693 GB, free: 8.645 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.6457, allocations: 499.9 kB / 0.5698 GB, free: 8.141 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.6458, allocations: 4 kB / 0.5698 GB, free: 8.137 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6458, allocations: 0 / 0.5698 GB, free: 8.137 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.6458, allocations: 7.984 kB / 0.5698 GB, free: 8.129 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.6465, allocations: 305.8 kB / 0.5701 GB, free: 7.793 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6465, allocations: 0 / 0.5701 GB, free: 7.793 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.6467, allocations: 31.84 kB / 0.5701 GB, free: 7.762 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.6493, allocations: 307.1 kB / 0.5704 GB, free: 7.449 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.6494, allocations: 0 / 0.5704 GB, free: 7.449 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009467/0.6588, allocations: 6.054 MB / 0.5763 GB, free: 0.9297 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6589, allocations: 0 / 0.5763 GB, free: 0.9297 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.6616, allocations: 0.5646 MB / 0.5769 GB, free: 344 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.6617, allocations: 104.7 kB / 0.577 GB, free: 220 kB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.6618, allocations: 4 kB / 0.577 GB, free: 216 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.6621, allocations: 7.984 kB / 0.577 GB, free: 208 kB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6623, allocations: 31.95 kB / 0.577 GB, free: 176 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.6624, allocations: 12 kB / 0.577 GB, free: 164 kB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.6625, allocations: 148.5 kB / 0.5772 GB, free: 20 kB / 411.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6626, allocations: 0 / 0.5772 GB, free: 20 kB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007711/0.6633, allocations: 103.9 kB / 0.5773 GB, free: 15.91 MB / 427.1 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.003079/0.6664, allocations: 1.106 MB / 0.5783 GB, free: 14.77 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.668, allocations: 0.6865 MB / 0.579 GB, free: 14.05 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.668, allocations: 0 / 0.579 GB, free: 14.05 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6693, allocations: 0.612 MB / 0.5796 GB, free: 13.39 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.6697, allocations: 12.38 kB / 0.5796 GB, free: 13.38 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.671, allocations: 417.7 kB / 0.58 GB, free: 12.93 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.6715, allocations: 0.7794 MB / 0.5808 GB, free: 12.12 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6717, allocations: 79.41 kB / 0.5808 GB, free: 12.05 MB / 427.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6717, allocations: 0 / 0.5808 GB, free: 12.05 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/3.496, allocations: 8.84 MB / 0.5895 GB, free: 3.203 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat