Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 108.8 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3944/0.3944, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003163/0.3512, allocations: 2.521 MB / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3525, allocations: 0.8209 MB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3526, allocations: 13.62 kB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.3529, allocations: 48.41 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.3531, allocations: 95.94 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.3533, allocations: 78.73 kB / 0.5187 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3536, allocations: 338 kB / 0.519 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3538, allocations: 92.52 kB / 0.5191 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3541, allocations: 129.4 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3542, allocations: 153.9 kB / 0.5193 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.3543, allocations: 19.5 kB / 0.5194 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.3544, allocations: 23.61 kB / 0.5194 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.3544, allocations: 58.69 kB / 0.5194 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3545, allocations: 144.9 kB / 0.5196 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.3548, allocations: 360.7 kB / 0.5199 GB, free: 34.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3548, allocations: 4 kB / 0.5199 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3548, allocations: 0 / 0.5199 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3549, allocations: 0 / 0.5199 GB, free: 34.7 MB / 378.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.0009676/0.3558, allocations: 0.6272 MB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3559, allocations: 11.53 kB / 0.5205 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.356, allocations: 40.98 kB / 0.5206 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.3562, allocations: 269 kB / 0.5208 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3563, allocations: 20.12 kB / 0.5209 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3563, allocations: 30.33 kB / 0.5209 GB, free: 33.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3567, allocations: 249.4 kB / 0.5211 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3568, allocations: 0 / 0.5211 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.3568, allocations: 8 kB / 0.5211 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3568, allocations: 8.688 kB / 0.5211 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.3572, allocations: 233.1 kB / 0.5214 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3584, allocations: 0.8816 MB / 0.5222 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.3589, allocations: 303.9 kB / 0.5225 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.3592, allocations: 142.6 kB / 0.5226 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.3592, allocations: 9.734 kB / 0.5227 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3592, allocations: 38.5 kB / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.3592, allocations: 0 / 0.5227 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004202/0.3634, allocations: 1.265 MB / 0.5239 GB, free: 32.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.3635, allocations: 60.48 kB / 0.524 GB, free: 32.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.3637, allocations: 238.3 kB / 0.5242 GB, free: 32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3637, allocations: 29.7 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.312e-05/0.3638, allocations: 171.2 kB / 0.5244 GB, free: 31.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.3639, allocations: 102.1 kB / 0.5245 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.364, allocations: 51.75 kB / 0.5245 GB, free: 31.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.364, allocations: 335.2 kB / 0.5249 GB, free: 31.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3642, allocations: 97.33 kB / 0.525 GB, free: 31.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3644, allocations: 129.4 kB / 0.5251 GB, free: 31.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3648, allocations: 223.1 kB / 0.5253 GB, free: 31.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3649, allocations: 3.031 kB / 0.5253 GB, free: 31.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001594/0.3665, allocations: 0.5494 MB / 0.5258 GB, free: 30.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3665, allocations: 5.75 kB / 0.5258 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3665, allocations: 3.938 kB / 0.5258 GB, free: 30.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.368, allocations: 313.9 kB / 0.5261 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3682, allocations: 27.81 kB / 0.5262 GB, free: 30.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.3734, allocations: 6.338 MB / 0.5324 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.3736, allocations: 31.42 kB / 0.5324 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3736, allocations: 5.312 kB / 0.5324 GB, free: 25.03 MB / 378.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.3738, allocations: 151.8 kB / 0.5325 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3738, allocations: 22.38 kB / 0.5326 GB, free: 24.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.3754, allocations: 0.5479 MB / 0.5331 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3754, allocations: 5.5 kB / 0.5331 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3754, allocations: 3.938 kB / 0.5331 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3754, allocations: 3.938 kB / 0.5331 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3758, allocations: 370.3 kB / 0.5335 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3758, allocations: 0 / 0.5335 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3759, allocations: 17.77 kB / 0.5335 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.3773, allocations: 310.6 kB / 0.5338 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3773, allocations: 10.97 kB / 0.5338 GB, free: 24.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005319/0.3826, allocations: 6.395 MB / 0.54 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3827, allocations: 2.859 kB / 0.54 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.3847, allocations: 1.314 MB / 0.5413 GB, free: 17.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3848, allocations: 116.4 kB / 0.5414 GB, free: 17.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3848, allocations: 6.688 kB / 0.5414 GB, free: 17.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.385, allocations: 12.78 kB / 0.5414 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3851, allocations: 29.58 kB / 0.5415 GB, free: 17.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3851, allocations: 9.812 kB / 0.5415 GB, free: 17.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3853, allocations: 174.5 kB / 0.5417 GB, free: 17.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3853, allocations: 0 / 0.5417 GB, free: 17.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006226/0.3859, allocations: 118.1 kB / 0.5418 GB, free: 17.22 MB / 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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.386, allocations: 117 kB / 0.5419 GB, free: 17.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008737/0.3869, allocations: 0.7474 MB / 0.5426 GB, free: 16.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3869, allocations: 0 / 0.5426 GB, free: 16.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.388, allocations: 0.7215 MB / 0.5433 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3883, allocations: 30.27 kB / 0.5433 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.3893, allocations: 0.8583 MB / 0.5442 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3895, allocations: 0.7844 MB / 0.5449 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.3896, allocations: 15.3 kB / 0.545 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.3896, allocations: 12.69 kB / 0.545 GB, free: 14.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3897, allocations: 0 / 0.545 GB, free: 14.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01445/0.4041, allocations: 7.858 MB / 0.5526 GB, free: 13.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches