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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 187.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2511/0.2511, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5169, allocations: 60.81 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.00413/0.5211, allocations: 2.445 MB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.5227, allocations: 0.7721 MB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.5228, allocations: 4.875 kB / 0.522 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.5232, allocations: 53.42 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.5234, allocations: 101.7 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.5238, allocations: 97.25 kB / 0.5223 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.5242, allocations: 340.4 kB / 0.5226 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.5244, allocations: 96.44 kB / 0.5227 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.5247, allocations: 140 kB / 0.5228 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.5249, allocations: 154.7 kB / 0.523 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.525, allocations: 29.28 kB / 0.523 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.5251, allocations: 28.94 kB / 0.523 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.5251, allocations: 70.12 kB / 0.5231 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.5253, allocations: 146.8 kB / 0.5232 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.5258, allocations: 368.6 kB / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5258, allocations: 0 / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5258, allocations: 0 / 0.5236 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.5258, allocations: 1.406 kB / 0.5236 GB, free: 0.5781 MB / 382.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.001084/0.5269, allocations: 0.6035 MB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.527, allocations: 8.938 kB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.5271, allocations: 37.2 kB / 0.5242 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.5275, allocations: 265.5 kB / 0.5245 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.5275, allocations: 18.75 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.5276, allocations: 24.28 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.5282, allocations: 248.4 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5282, allocations: 1.406 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.5282, allocations: 9.5 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.5282, allocations: 13.7 kB / 0.5248 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005847/0.5288, allocations: 236.2 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.5305, allocations: 0.8689 MB / 0.5259 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.5311, allocations: 299.8 kB / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.5314, allocations: 143.7 kB / 0.5263 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.5314, allocations: 4.156 kB / 0.5263 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.5315, allocations: 41.25 kB / 0.5263 GB, free: 14.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.5315, allocations: 0 / 0.5263 GB, free: 14.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004407/0.5359, allocations: 1.257 MB / 0.5275 GB, free: 13.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.5359, allocations: 53.94 kB / 0.5276 GB, free: 13.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.5362, allocations: 220.2 kB / 0.5278 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5363, allocations: 30.92 kB / 0.5278 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5364, allocations: 168.5 kB / 0.528 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.5365, allocations: 94.59 kB / 0.5281 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5366, allocations: 56.14 kB / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5367, allocations: 333 kB / 0.5285 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.537, allocations: 92.39 kB / 0.5285 GB, free: 13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.5373, allocations: 122.5 kB / 0.5287 GB, free: 12.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.5378, allocations: 234.3 kB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5378, allocations: 0 / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001727/0.5395, allocations: 0.5474 MB / 0.5294 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5396, allocations: 4.688 kB / 0.5294 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5396, allocations: 5.031 kB / 0.5294 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.5412, allocations: 309.2 kB / 0.5297 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.5414, allocations: 34.66 kB / 0.5298 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/0.5494, allocations: 6.829 MB / 0.5364 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.5498, allocations: 36.11 kB / 0.5365 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.5498, allocations: 7.031 kB / 0.5365 GB, free: 5.746 MB / 398.1 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.0002854/0.5501, allocations: 145.1 kB / 0.5366 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.5502, allocations: 23.62 kB / 0.5366 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.5521, allocations: 0.5456 MB / 0.5372 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5521, allocations: 3.312 kB / 0.5372 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5521, allocations: 7.938 kB / 0.5372 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5521, allocations: 7.984 kB / 0.5372 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.5527, allocations: 362.9 kB / 0.5375 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5527, allocations: 1.125 kB / 0.5375 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5529, allocations: 17.23 kB / 0.5375 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.5544, allocations: 308.1 kB / 0.5378 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.5544, allocations: 5.188 kB / 0.5378 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008737/0.5632, allocations: 6.887 MB / 0.5446 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5632, allocations: 3.984 kB / 0.5446 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.5651, allocations: 0.6127 MB / 0.5452 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5653, allocations: 107.2 kB / 0.5453 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5653, allocations: 10.84 kB / 0.5453 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5656, allocations: 8.031 kB / 0.5453 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.5657, allocations: 34.58 kB / 0.5453 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5658, allocations: 12.7 kB / 0.5453 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.566, allocations: 154.2 kB / 0.5455 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.566, allocations: 0 / 0.5455 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007755/0.5668, allocations: 120.5 kB / 0.5456 GB, free: 13.52 MB / 414.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 () * 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.0001799/0.567, allocations: 107.9 kB / 0.5457 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.5686, allocations: 0.7633 MB / 0.5464 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5686, allocations: 0 / 0.5464 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.57, allocations: 0.7225 MB / 0.5472 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.5705, allocations: 27.48 kB / 0.5472 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5718, allocations: 0.5314 MB / 0.5477 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.5723, allocations: 0.7746 MB / 0.5485 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.5723, allocations: 13.98 kB / 0.5485 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.5724, allocations: 13.16 kB / 0.5485 GB, free: 11.05 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5724, allocations: 0 / 0.5485 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.01699/0.5894, allocations: 8.4 MB / 0.5567 GB, free: 3.641 MB / 414.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches