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: translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 182.6 kB / 18.09 MB, free: 3.625 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.369/1.369, allocations: 223.3 MB / 242.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007825/0.0007824, allocations: 93.77 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3626/0.3626, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004111, allocations: 8 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3575, allocations: 61.88 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4843, allocations: 90.2 MB / 0.5988 GB, free: 4.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.4846, allocations: 87.92 kB / 0.5989 GB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.5026, allocations: 6.794 MB / 0.6055 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5026, allocations: 0 / 0.6055 GB, free: 13.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.5026, allocations: 8 kB / 0.6055 GB, free: 13.96 MB / 426.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.001017/0.5037, allocations: 0.5467 MB / 0.6061 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5037, allocations: 15.97 kB / 0.6061 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.5038, allocations: 32.56 kB / 0.6061 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.5043, allocations: 291.7 kB / 0.6064 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5043, allocations: 16.94 kB / 0.6064 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.5044, allocations: 28.31 kB / 0.6064 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.5049, allocations: 253.4 kB / 0.6067 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.505, allocations: 192 / 0.6067 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.505, allocations: 11.94 kB / 0.6067 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.505, allocations: 8 kB / 0.6067 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/0.5055, allocations: 242.1 kB / 0.6069 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5071, allocations: 0.8699 MB / 0.6078 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.5076, allocations: 310.7 kB / 0.6081 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.5079, allocations: 149.2 kB / 0.6082 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.508, allocations: 7.984 kB / 0.6082 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.508, allocations: 38.56 kB / 0.6083 GB, free: 11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/0.508, allocations: 0 / 0.6083 GB, free: 11 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004182/0.5122, allocations: 1.254 MB / 0.6095 GB, free: 9.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5123, allocations: 59.39 kB / 0.6096 GB, free: 9.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.5125, allocations: 213 kB / 0.6098 GB, free: 9.363 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.5126, allocations: 29.7 kB / 0.6098 GB, free: 9.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5127, allocations: 161.1 kB / 0.6099 GB, free: 9.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.5128, allocations: 106.5 kB / 0.61 GB, free: 9.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.5128, allocations: 8 kB / 0.61 GB, free: 9.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5129, allocations: 330.8 kB / 0.6104 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.5132, allocations: 99.89 kB / 0.6105 GB, free: 8.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.5134, allocations: 125.9 kB / 0.6106 GB, free: 8.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.5139, allocations: 243.2 kB / 0.6108 GB, free: 8.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5139, allocations: 0 / 0.6108 GB, free: 8.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001776/0.5157, allocations: 0.5605 MB / 0.6114 GB, free: 7.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5157, allocations: 4 kB / 0.6114 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5157, allocations: 0 / 0.6114 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.5174, allocations: 323.1 kB / 0.6117 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.5176, allocations: 27.92 kB / 0.6117 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/0.5245, allocations: 6.333 MB / 0.6179 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.5248, allocations: 31.8 kB / 0.6179 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5248, allocations: 8 kB / 0.6179 GB, free: 416 kB / 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 () * Number of clocked 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.0001948/0.525, allocations: 142.9 kB / 0.6181 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.5251, allocations: 27.7 kB / 0.6181 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.5269, allocations: 0.558 MB / 0.6186 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5269, allocations: 4 kB / 0.6186 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5269, allocations: 0 / 0.6186 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5269, allocations: 7.922 kB / 0.6186 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.5274, allocations: 353.2 kB / 0.619 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5274, allocations: 4 kB / 0.619 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5275, allocations: 27.97 kB / 0.619 GB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.5291, allocations: 311.2 kB / 0.6193 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.5292, allocations: 4 kB / 0.6193 GB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006897/0.5361, allocations: 6.268 MB / 0.6254 GB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5361, allocations: 0 / 0.6254 GB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.5379, allocations: 0.6283 MB / 0.626 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5381, allocations: 116.6 kB / 0.6261 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5381, allocations: 8 kB / 0.6262 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.5383, allocations: 8 kB / 0.6262 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5385, allocations: 43.89 kB / 0.6262 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5385, allocations: 7.984 kB / 0.6262 GB, free: 7.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.5387, allocations: 156.5 kB / 0.6264 GB, free: 7.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5387, allocations: 3.938 kB / 0.6264 GB, free: 7.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006329/0.5393, allocations: 119.8 kB / 0.6265 GB, free: 6.965 MB / 442.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 () * Number of clocked 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.0002019/0.5395, allocations: 119 kB / 0.6266 GB, free: 6.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5407, allocations: 0.7485 MB / 0.6273 GB, free: 6.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5408, allocations: 0 / 0.6273 GB, free: 6.039 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009625/0.5417, allocations: 0.6627 MB / 0.628 GB, free: 5.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.5421, allocations: 34.19 kB / 0.628 GB, free: 5.293 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5433, allocations: 0.6362 MB / 0.6286 GB, free: 4.621 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5437, allocations: 0.7717 MB / 0.6294 GB, free: 3.824 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.5438, allocations: 9.953 kB / 0.6294 GB, free: 3.816 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.5438, allocations: 11.44 kB / 0.6294 GB, free: 3.805 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5438, allocations: 0 / 0.6294 GB, free: 3.805 MB / 442.7 MB Notification: Performance of Templates: time 0.0135/0.5573, allocations: 7.496 MB / 0.6367 GB, free: 12.36 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches