Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.206, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005111/0.2111, allocations: 4.188 MB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002611/0.2137, allocations: 1.709 MB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.214, allocations: 12 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.2162, allocations: 1.015 MB / 416.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.2168, allocations: 238.2 kB / 417.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2182, allocations: 0.7629 MB / 417.9 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.2188, allocations: 0.6144 MB / 418.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.2194, allocations: 491.2 kB / 419 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2198, allocations: 267 kB / 419.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.2201, allocations: 338.6 kB / 419.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.2202, allocations: 52 kB / 419.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.2207, allocations: 291.7 kB / 419.9 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.757e-05/0.2208, allocations: 123.6 kB / 420 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.221, allocations: 314.5 kB / 420.3 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.2219, allocations: 0.9319 MB / 421.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2219, allocations: 4 kB / 421.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.222, allocations: 0 / 421.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.222, allocations: 0 / 421.2 MB, free: 6.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003494/0.2255, allocations: 1.222 MB / 422.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2255, allocations: 8.031 kB / 422.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.2267, allocations: 184 kB / 422.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2269, allocations: 252 kB / 422.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.227, allocations: 46.38 kB / 422.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.2271, allocations: 68.38 kB / 423 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2283, allocations: 0.696 MB / 423.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2283, allocations: 11.91 kB / 423.7 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.2284, allocations: 27.98 kB / 423.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.2284, allocations: 16 kB / 423.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2296, allocations: 0.6023 MB / 424.4 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.2328, allocations: 2.305 MB / 426.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.2344, allocations: 1.629 MB / 428.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.2349, allocations: 279.3 kB / 428.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/0.2351, allocations: 174.8 kB / 428.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2351, allocations: 43.12 kB / 428.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.2351, allocations: 0 / 428.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001481/0.2366, allocations: 0.6976 MB / 429.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.2367, allocations: 111.4 kB / 429.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.237, allocations: 260.9 kB / 429.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.237, allocations: 37.83 kB / 429.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.2371, allocations: 271.9 kB / 430.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.2373, allocations: 220.8 kB / 430.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.2375, allocations: 114.6 kB / 430.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2376, allocations: 346.8 kB / 430.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.2381, allocations: 213.8 kB / 431 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.2386, allocations: 305.4 kB / 431.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.2396, allocations: 0.5104 MB / 431.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2396, allocations: 3.938 kB / 431.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001194/0.2408, allocations: 0.6295 MB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2409, allocations: 8 kB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2409, allocations: 0 / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2409, allocations: 4 kB / 432.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.2416, allocations: 155.8 kB / 432.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2416, allocations: 8 kB / 432.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.2421, allocations: 75.53 kB / 432.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.2421, allocations: 24 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.2423, allocations: 185.7 kB / 432.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2424, allocations: 35.62 kB / 432.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.2436, allocations: 0.6045 MB / 433.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2437, allocations: 3.984 kB / 433.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2437, allocations: 0 / 433.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.2438, allocations: 128.4 kB / 433.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.2438, allocations: 16 kB / 433.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.2442, allocations: 27.97 kB / 433.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.2443, allocations: 40.45 kB / 433.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00137/0.2457, allocations: 0.7479 MB / 434.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001579/0.2473, allocations: 1.044 MB / 435.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004318/0.2477, allocations: 248.4 kB / 435.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2479, allocations: 196.5 kB / 436 MB, free: 6.809 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.2479, allocations: 0 / 436 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.2492, allocations: 0.536 MB / 436.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.001376/0.2506, allocations: 1.245 MB / 437.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Templates: time 0.01432/0.2649, allocations: 9.077 MB / 446.8 MB, free: 11.95 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches