Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001217, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 60 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005367/0.1105, allocations: 4.325 MB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1133, allocations: 1.724 MB / 365 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.1135, allocations: 12 kB / 365 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.1156, allocations: 1.007 MB / 366 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005501/0.1162, allocations: 254.2 kB / 366.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1177, allocations: 0.7661 MB / 367 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1182, allocations: 0.6413 MB / 367.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.1189, allocations: 0.513 MB / 368.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.1193, allocations: 278.9 kB / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004642/0.1198, allocations: 358.5 kB / 368.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1199, allocations: 56 kB / 368.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.1204, allocations: 287.7 kB / 369.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1206, allocations: 143.5 kB / 369.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1208, allocations: 322.4 kB / 369.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1219, allocations: 0.9773 MB / 370.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.122, allocations: 0 / 370.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.122, allocations: 4 kB / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.122, allocations: 0 / 370.5 MB, free: 1.66 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003592/0.1256, allocations: 1.264 MB / 371.8 MB, free: 352 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1256, allocations: 12.03 kB / 371.8 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.1271, allocations: 208 kB / 372 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1508/0.2779, allocations: 243.1 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.278, allocations: 58.27 kB / 372.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.2783, allocations: 75.28 kB / 372.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.2797, allocations: 0.7605 MB / 373.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2797, allocations: 1.766 kB / 373.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.157e-05/0.2798, allocations: 30.62 kB / 373.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.2798, allocations: 18.34 kB / 373.2 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2812, allocations: 0.6696 MB / 373.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004363/0.2856, allocations: 3.244 MB / 377.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.2874, allocations: 2.074 MB / 379.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.288, allocations: 319.1 kB / 379.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.2882, allocations: 182.2 kB / 379.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2882, allocations: 45.48 kB / 379.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.2882, allocations: 0 / 379.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002432/0.2907, allocations: 1.133 MB / 380.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2907, allocations: 111.5 kB / 381 MB, free: 14.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.291, allocations: 274 kB / 381.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.2911, allocations: 40.61 kB / 381.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.2912, allocations: 305 kB / 381.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.2914, allocations: 243.6 kB / 381.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.2916, allocations: 134.8 kB / 381.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.2917, allocations: 352.6 kB / 382.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.2921, allocations: 228.1 kB / 382.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.2926, allocations: 381.1 kB / 382.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.2936, allocations: 0.6364 MB / 383.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.2936, allocations: 1.5 kB / 383.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001434/0.295, allocations: 0.8295 MB / 384.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2951, allocations: 11.72 kB / 384.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2951, allocations: 7.688 kB / 384.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.2955, allocations: 123.2 kB / 384.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.2962, allocations: 160.8 kB / 384.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.2992, allocations: 3.782 MB / 388.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.2998, allocations: 89.97 kB / 388.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.2999, allocations: 40.12 kB / 388.6 MB, free: 8.605 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002817/0.3002, allocations: 198.9 kB / 388.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3003, allocations: 39.73 kB / 388.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.3018, allocations: 0.7452 MB / 389.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3018, allocations: 12.28 kB / 389.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3018, allocations: 2.625 kB / 389.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3018, allocations: 4.219 kB / 389.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.3042, allocations: 1.482 MB / 391 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3042, allocations: 0 / 391 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.3047, allocations: 109.2 kB / 391.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/0.305, allocations: 116 kB / 391.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.3051, allocations: 18.81 kB / 391.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.3072, allocations: 3.345 MB / 394.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3072, allocations: 0 / 394.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.309, allocations: 1.114 MB / 395.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3091, allocations: 131.3 kB / 395.9 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.3092, allocations: 19.83 kB / 395.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.3096, allocations: 32.05 kB / 395.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3097, allocations: 47.45 kB / 396 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3098, allocations: 22.72 kB / 396 MB, free: 3.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3099, allocations: 190.4 kB / 396.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3099, allocations: 0 / 396.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008321/0.3108, allocations: 223.1 kB / 396.4 MB, free: 3.176 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.311, allocations: 156.5 kB / 396.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.3125, allocations: 0.8807 MB / 397.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3125, allocations: 0 / 397.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.3133, allocations: 0.5579 MB / 398 MB, free: 2.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.3138, allocations: 39.34 kB / 398 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3157, allocations: 1.112 MB / 399.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.316, allocations: 0.8617 MB / 400 MB, free: 0.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.3163, allocations: 79.98 kB / 400.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3164, allocations: 43.8 kB / 400.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3164, allocations: 0 / 400.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of Templates: time 0.01083/0.3273, allocations: 6.143 MB / 406.3 MB, free: 13.51 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches