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.001119/0.001119, allocations: 199.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008886/0.0008886, allocations: 96.67 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.447e-05, allocations: 0 / 453.2 MB, free: 75.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4689, allocations: 90.68 MB / 0.5929 GB, free: 11.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4691, allocations: 76.95 kB / 0.593 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0184/0.4875, allocations: 7.033 MB / 0.5999 GB, free: 6.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4876, allocations: 0 / 0.5999 GB, free: 6.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4876, allocations: 8 kB / 0.5999 GB, free: 6.051 MB / 394.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.0008925/0.4885, allocations: 0.5374 MB / 0.6004 GB, free: 5.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4885, allocations: 8.031 kB / 0.6004 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.4887, allocations: 43.52 kB / 0.6004 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.4891, allocations: 285.7 kB / 0.6007 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.4892, allocations: 12 kB / 0.6007 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.4892, allocations: 16 kB / 0.6007 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000356/0.4896, allocations: 187.4 kB / 0.6009 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.4899, allocations: 189.5 kB / 0.6011 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4899, allocations: 0 / 0.6011 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.49, allocations: 3.984 kB / 0.6011 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.49, allocations: 8 kB / 0.6011 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.4913, allocations: 0.828 MB / 0.6019 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.492, allocations: 309 kB / 0.6022 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.4922, allocations: 124.7 kB / 0.6023 GB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.4922, allocations: 8 kB / 0.6023 GB, free: 3.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4923, allocations: 34.5 kB / 0.6024 GB, free: 3.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.4923, allocations: 4 kB / 0.6024 GB, free: 3.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001669/0.494, allocations: 485.4 kB / 0.6028 GB, free: 3.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.494, allocations: 59.41 kB / 0.6029 GB, free: 3.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4942, allocations: 184.8 kB / 0.6031 GB, free: 3.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.4943, allocations: 29.7 kB / 0.6031 GB, free: 3.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.4944, allocations: 162.7 kB / 0.6033 GB, free: 2.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.4945, allocations: 107.5 kB / 0.6034 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.4945, allocations: 0 / 0.6034 GB, free: 2.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4946, allocations: 337.1 kB / 0.6037 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4948, allocations: 72.38 kB / 0.6038 GB, free: 2.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.495, allocations: 106.2 kB / 0.6039 GB, free: 2.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.4951, allocations: 88.31 kB / 0.6039 GB, free: 2.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4951, allocations: 0 / 0.6039 GB, free: 2.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001577/0.4967, allocations: 497.3 kB / 0.6044 GB, free: 1.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4968, allocations: 15.92 kB / 0.6044 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4968, allocations: 0 / 0.6044 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.4983, allocations: 306.5 kB / 0.6047 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.4985, allocations: 35.91 kB / 0.6048 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006836/0.5053, allocations: 6.119 MB / 0.6107 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.5056, allocations: 31.77 kB / 0.6108 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.5057, allocations: 11.75 kB / 0.6108 GB, free: 11.64 MB / 410.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.0002329/0.5059, allocations: 111.1 kB / 0.6109 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.506, allocations: 23.72 kB / 0.6109 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.5077, allocations: 0.4898 MB / 0.6114 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5077, allocations: 7.938 kB / 0.6114 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5077, allocations: 0 / 0.6114 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5078, allocations: 3.984 kB / 0.6114 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.5082, allocations: 308.7 kB / 0.6117 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5082, allocations: 0 / 0.6117 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5084, allocations: 29.41 kB / 0.6117 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5098, allocations: 302.2 kB / 0.612 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5099, allocations: 0 / 0.612 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006312/0.5162, allocations: 6.064 MB / 0.6179 GB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5162, allocations: 3.953 kB / 0.6179 GB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.5178, allocations: 0.5677 MB / 0.6185 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.5179, allocations: 104.8 kB / 0.6186 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.518, allocations: 0 / 0.6186 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5182, allocations: 15.98 kB / 0.6186 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5183, allocations: 38.22 kB / 0.6186 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5183, allocations: 11.25 kB / 0.6186 GB, free: 3.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.5185, allocations: 151.4 kB / 0.6188 GB, free: 3.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5185, allocations: 0 / 0.6188 GB, free: 3.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005592/0.5191, allocations: 107.8 kB / 0.6189 GB, free: 3.672 MB / 410.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.0001934/0.5193, allocations: 115 kB / 0.619 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009451/0.5202, allocations: 0.6833 MB / 0.6197 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5202, allocations: 0 / 0.6197 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.521, allocations: 0.6137 MB / 0.6203 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.5213, allocations: 19.91 kB / 0.6203 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.522, allocations: 339.4 kB / 0.6206 GB, free: 2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.5225, allocations: 0.7911 MB / 0.6214 GB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.877e-05/0.5226, allocations: 14.08 kB / 0.6214 GB, free: 1.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.5226, allocations: 14.44 kB / 0.6214 GB, free: 1.156 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5226, allocations: 0 / 0.6214 GB, free: 1.156 MB / 410.7 MB Notification: Performance of Templates: time 0.0125/0.5351, allocations: 7.346 MB / 0.6286 GB, free: 9.867 MB / 426.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/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