Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 91.41 kB / 16.65 MB, free: 6.535 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.001088/0.001088, allocations: 174.2 kB / 17.56 MB, free: 6.184 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 4 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08947, allocations: 50.41 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00392/0.09343, allocations: 3.763 MB / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.09593, allocations: 1.592 MB / 357.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.09621, allocations: 16 kB / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.09674, allocations: 215.1 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.09725, allocations: 194.7 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.09869, allocations: 0.7672 MB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.0992, allocations: 0.5872 MB / 359 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1006, allocations: 0.9073 MB / 359.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.1009, allocations: 227 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1013, allocations: 294.7 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.997e-05/0.1013, allocations: 31.94 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.1018, allocations: 235.8 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.1019, allocations: 103.5 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1021, allocations: 304.2 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007705/0.1029, allocations: 0.8799 MB / 361.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1029, allocations: 4 kB / 361.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1029, allocations: 0 / 361.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1029, allocations: 0 / 361.9 MB, free: 9.293 MB / 302.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.003301/0.1062, allocations: 1.102 MB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1063, allocations: 8.031 kB / 363 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.1074, allocations: 180 kB / 363.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1076, allocations: 237.1 kB / 363.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.1077, allocations: 54.38 kB / 363.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1078, allocations: 68.28 kB / 363.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1091, allocations: 0.7271 MB / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1091, allocations: 0 / 364.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.1092, allocations: 28 kB / 364.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1092, allocations: 23.98 kB / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1106, allocations: 0.622 MB / 365 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.1139, allocations: 2.332 MB / 367.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.1155, allocations: 1.637 MB / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/0.1161, allocations: 283.4 kB / 369.2 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.1162, allocations: 97.64 kB / 369.3 MB, free: 1.418 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1162, allocations: 43.12 kB / 369.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 1.983e-06/0.1162, allocations: 0 / 369.4 MB, free: 1.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001659/0.1179, allocations: 0.7328 MB / 370.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.118, allocations: 115.5 kB / 370.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1182, allocations: 252.9 kB / 370.4 MB, free: 244 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1183, allocations: 37.7 kB / 370.5 MB, free: 200 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1575/0.2758, allocations: 260.3 kB / 370.7 MB, free: 24.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.2762, allocations: 223.3 kB / 371 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.2763, allocations: 57.41 kB / 371 MB, free: 24.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2765, allocations: 346.4 kB / 371.3 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.2772, allocations: 221.3 kB / 371.6 MB, free: 23.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.2778, allocations: 312.7 kB / 371.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.2788, allocations: 0.5403 MB / 372.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2788, allocations: 0 / 372.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001388/0.2802, allocations: 0.6549 MB / 373.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2802, allocations: 5.938 kB / 373.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2803, allocations: 2 kB / 373.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2803, allocations: 4.531 kB / 373.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.281, allocations: 168 kB / 373.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.281, allocations: 7.953 kB / 373.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.2816, allocations: 72.09 kB / 373.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.2816, allocations: 24.81 kB / 373.3 MB, free: 23.64 MB / 302.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.0002604/0.2819, allocations: 188.4 kB / 373.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/0.282, allocations: 38.66 kB / 373.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2834, allocations: 0.6282 MB / 374.2 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2834, allocations: 10.34 kB / 374.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2834, allocations: 4.219 kB / 374.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.2834, allocations: 4.453 kB / 374.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.2855, allocations: 1.32 MB / 375.5 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2855, allocations: 0 / 375.5 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.2861, allocations: 133.1 kB / 375.7 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2861, allocations: 3.5 kB / 375.7 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.2861, allocations: 14.77 kB / 375.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2862, allocations: 3.406 kB / 375.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2862, allocations: 0 / 375.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.2878, allocations: 1.008 MB / 376.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.2879, allocations: 124.8 kB / 376.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.288, allocations: 15.52 kB / 376.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.2884, allocations: 40.61 kB / 376.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2885, allocations: 41.58 kB / 376.9 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.2885, allocations: 16.97 kB / 376.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.2887, allocations: 192.5 kB / 377.1 MB, free: 21.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2887, allocations: 0 / 377.1 MB, free: 21.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.2894, allocations: 178.4 kB / 377.3 MB, free: 21.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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 Backend phase and start with SimCode phase: time 0.0002535/0.2897, allocations: 146 kB / 377.4 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.291, allocations: 0.5536 MB / 378 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.291, allocations: 1 kB / 378 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005397/0.2915, allocations: 289.7 kB / 378.3 MB, free: 21.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.292, allocations: 53.91 kB / 378.3 MB, free: 21.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.2941, allocations: 1.378 MB / 379.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2944, allocations: 0.8485 MB / 380.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004148/0.2948, allocations: 78.14 kB / 380.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2949, allocations: 45.94 kB / 380.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2949, allocations: 0 / 380.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01041/0.3054, allocations: 4.82 MB / 385.5 MB, free: 19.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches