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: translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.9 kB / 8.006 MB, free: 1.062 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.581/1.581, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008448/0.0008448, allocations: 98.23 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.1932/0.1932, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.115e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.5408, allocations: 87.47 MB / 0.5514 GB, free: 7.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.541, allocations: 72.22 kB / 0.5514 GB, free: 7.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.5555, allocations: 6.526 MB / 0.5578 GB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5555, allocations: 0 / 0.5578 GB, free: 2.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.5556, allocations: 4 kB / 0.5578 GB, free: 2.414 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.000748/0.5563, allocations: 0.522 MB / 0.5583 GB, free: 1.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5564, allocations: 8.031 kB / 0.5583 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.5565, allocations: 31.62 kB / 0.5583 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.5569, allocations: 272.6 kB / 0.5586 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5569, allocations: 8 kB / 0.5586 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.5569, allocations: 12 kB / 0.5586 GB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003582/0.5573, allocations: 195.2 kB / 0.5588 GB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.5576, allocations: 188.5 kB / 0.559 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5576, allocations: 0 / 0.559 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.5577, allocations: 4 kB / 0.559 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.5577, allocations: 4 kB / 0.559 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5589, allocations: 0.8318 MB / 0.5598 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.5595, allocations: 307.4 kB / 0.5601 GB, free: 352 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.5596, allocations: 117.9 kB / 0.5602 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.5597, allocations: 15.09 kB / 0.5602 GB, free: 268 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.5597, allocations: 30.56 kB / 0.5603 GB, free: 228 kB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.5597, allocations: 0 / 0.5603 GB, free: 228 kB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001578/0.5613, allocations: 476.2 kB / 0.5607 GB, free: 15.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5613, allocations: 59.34 kB / 0.5608 GB, free: 15.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.5615, allocations: 180.8 kB / 0.5609 GB, free: 15.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5616, allocations: 25.7 kB / 0.561 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.5616, allocations: 159.9 kB / 0.5611 GB, free: 15.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.5617, allocations: 96.88 kB / 0.5612 GB, free: 15.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.5617, allocations: 0 / 0.5612 GB, free: 15.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5619, allocations: 336.5 kB / 0.5615 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.562, allocations: 72.75 kB / 0.5616 GB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.5621, allocations: 101 kB / 0.5617 GB, free: 14.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.5623, allocations: 83.62 kB / 0.5618 GB, free: 14.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5623, allocations: 0 / 0.5618 GB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001494/0.5638, allocations: 0.4902 MB / 0.5623 GB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5638, allocations: 4 kB / 0.5623 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5638, allocations: 0 / 0.5623 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.5655, allocations: 309.1 kB / 0.5626 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.5657, allocations: 35.91 kB / 0.5626 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006119/0.5718, allocations: 6.115 MB / 0.5686 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.5721, allocations: 20.61 kB / 0.5686 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.5721, allocations: 11.88 kB / 0.5686 GB, free: 8.129 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.0001802/0.5723, allocations: 118.7 kB / 0.5687 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.5723, allocations: 23.72 kB / 0.5687 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.5739, allocations: 0.4905 MB / 0.5692 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5739, allocations: 4 kB / 0.5692 GB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.5739, allocations: 4 kB / 0.5692 GB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5739, allocations: 3.984 kB / 0.5692 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.5743, allocations: 307.1 kB / 0.5695 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5743, allocations: 4 kB / 0.5695 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5745, allocations: 27.86 kB / 0.5695 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.5758, allocations: 305 kB / 0.5698 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.5759, allocations: 0 / 0.5698 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.5817, allocations: 6.055 MB / 0.5757 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5817, allocations: 3.953 kB / 0.5758 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5832, allocations: 0.565 MB / 0.5763 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.5832, allocations: 104.7 kB / 0.5764 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.5833, allocations: 0 / 0.5764 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.5835, allocations: 11.98 kB / 0.5764 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.5836, allocations: 39.59 kB / 0.5765 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5836, allocations: 4 kB / 0.5765 GB, free: 404 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.5837, allocations: 148.7 kB / 0.5766 GB, free: 284 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5837, allocations: 4 kB / 0.5766 GB, free: 280 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.5842, allocations: 107.8 kB / 0.5767 GB, free: 172 kB / 378.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.0001438/0.5844, allocations: 95.25 kB / 0.5768 GB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008834/0.5853, allocations: 0.6909 MB / 0.5775 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5853, allocations: 0 / 0.5775 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.586, allocations: 0.6106 MB / 0.5781 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.5862, allocations: 15.38 kB / 0.5781 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.5868, allocations: 333.3 kB / 0.5784 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5872, allocations: 0.7794 MB / 0.5792 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.5872, allocations: 10.08 kB / 0.5792 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.5873, allocations: 19.38 kB / 0.5792 GB, free: 13.69 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5873, allocations: 0 / 0.5792 GB, free: 13.69 MB / 394.7 MB Notification: Performance of Templates: time 0.0111/0.5984, allocations: 7.278 MB / 0.5863 GB, free: 6.457 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches