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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 195.2 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008327/0.0008329, allocations: 92.17 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1817/0.1817, allocations: 45.14 MB / 383.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.442e-06, allocations: 4 kB / 452.6 MB, free: 76.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 63.24 MB / 0.5038 GB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4839, allocations: 90.61 MB / 0.5923 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4842, allocations: 71.77 kB / 0.5923 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01859/0.5028, allocations: 6.734 MB / 0.5989 GB, free: 6.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5029, allocations: 4 kB / 0.5989 GB, free: 6.48 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.0009226/0.5038, allocations: 0.5426 MB / 0.5994 GB, free: 5.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5039, allocations: 8.031 kB / 0.5995 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.504, allocations: 43.52 kB / 0.5995 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.5045, allocations: 290.4 kB / 0.5998 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5045, allocations: 8 kB / 0.5998 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.5046, allocations: 12 kB / 0.5998 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003819/0.505, allocations: 184.7 kB / 0.6 GB, free: 5.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.5053, allocations: 198.2 kB / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5053, allocations: 0 / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.5054, allocations: 0 / 0.6002 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.5054, allocations: 8 kB / 0.6002 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.5068, allocations: 0.8418 MB / 0.601 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.5075, allocations: 297.3 kB / 0.6013 GB, free: 4.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5077, allocations: 125.5 kB / 0.6014 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.5078, allocations: 4 kB / 0.6014 GB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5078, allocations: 34.19 kB / 0.6014 GB, free: 4.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.5078, allocations: 4 kB / 0.6014 GB, free: 4.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001825/0.5097, allocations: 479.2 kB / 0.6019 GB, free: 3.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.5097, allocations: 59.31 kB / 0.6019 GB, free: 3.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5099, allocations: 195.2 kB / 0.6021 GB, free: 3.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.5099, allocations: 25.7 kB / 0.6022 GB, free: 3.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.51, allocations: 145.3 kB / 0.6023 GB, free: 3.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.5101, allocations: 95.75 kB / 0.6024 GB, free: 3.312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.5101, allocations: 0 / 0.6024 GB, free: 3.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5102, allocations: 335.9 kB / 0.6027 GB, free: 2.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.5104, allocations: 74.25 kB / 0.6028 GB, free: 2.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.5105, allocations: 108.6 kB / 0.6029 GB, free: 2.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.5107, allocations: 88.97 kB / 0.603 GB, free: 2.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5107, allocations: 0 / 0.603 GB, free: 2.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001697/0.5124, allocations: 0.4897 MB / 0.6034 GB, free: 2.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5124, allocations: 4 kB / 0.6034 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5124, allocations: 0 / 0.6034 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.5142, allocations: 314.4 kB / 0.6037 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5144, allocations: 39.47 kB / 0.6038 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.521, allocations: 6.061 MB / 0.6097 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.5213, allocations: 27.73 kB / 0.6097 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5213, allocations: 8 kB / 0.6097 GB, free: 12.08 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.0001768/0.5215, allocations: 128.4 kB / 0.6099 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.5215, allocations: 27.7 kB / 0.6099 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.5233, allocations: 0.4976 MB / 0.6104 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5233, allocations: 4 kB / 0.6104 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5233, allocations: 0 / 0.6104 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5233, allocations: 3.938 kB / 0.6104 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.5237, allocations: 307.5 kB / 0.6107 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5237, allocations: 3.906 kB / 0.6107 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.5238, allocations: 23.98 kB / 0.6107 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.5254, allocations: 316.2 kB / 0.611 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.5255, allocations: 0 / 0.611 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006936/0.5324, allocations: 6.016 MB / 0.6169 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5325, allocations: 0 / 0.6169 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001745/0.5342, allocations: 0.5702 MB / 0.6174 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.944e-05/0.5343, allocations: 108.7 kB / 0.6175 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.5344, allocations: 0 / 0.6175 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.5346, allocations: 16 kB / 0.6175 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.5347, allocations: 15.91 kB / 0.6176 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.5347, allocations: 8 kB / 0.6176 GB, free: 4.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001561/0.5349, allocations: 155.2 kB / 0.6177 GB, free: 4.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005795/0.5354, allocations: 111.8 kB / 0.6178 GB, free: 4.078 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.0002187/0.5357, allocations: 111.2 kB / 0.6179 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009659/0.5366, allocations: 0.6374 MB / 0.6186 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5367, allocations: 0 / 0.6186 GB, free: 3.359 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.5374, allocations: 0.5773 MB / 0.6191 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.5378, allocations: 19.59 kB / 0.6191 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.5388, allocations: 385.6 kB / 0.6195 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003948/0.5392, allocations: 0.7937 MB / 0.6203 GB, free: 1.602 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5392, allocations: 0 / 0.6203 GB, free: 1.602 MB / 410.7 MB Notification: Performance of Templates: time 0.01453/0.5537, allocations: 7.825 MB / 0.6279 GB, free: 9.816 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