Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001638/0.001638, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.09037, allocations: 46.62 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005128/0.09554, allocations: 4.286 MB / 333 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.09789, allocations: 1.686 MB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.09806, allocations: 12 kB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.1002, allocations: 1.023 MB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.1006, allocations: 242.2 kB / 336 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.102, allocations: 0.7979 MB / 336.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.1026, allocations: 0.6416 MB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.1033, allocations: 0.5091 MB / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.1037, allocations: 278.9 kB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1041, allocations: 362.5 kB / 338.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.1042, allocations: 56 kB / 338.6 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.1046, allocations: 267.8 kB / 338.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1047, allocations: 139.5 kB / 339 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.105, allocations: 330.3 kB / 339.3 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.1059, allocations: 0.9501 MB / 340.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1059, allocations: 4 kB / 340.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1059, allocations: 0 / 340.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1059, allocations: 0 / 340.3 MB, free: 8.141 MB / 286.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.003483/0.1094, allocations: 1.253 MB / 341.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1095, allocations: 12.03 kB / 341.6 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.1108, allocations: 211.9 kB / 341.8 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1111, allocations: 235.5 kB / 342 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.1111, allocations: 54.31 kB / 342 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1112, allocations: 76.36 kB / 342.1 MB, free: 6.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.1125, allocations: 0.7702 MB / 342.9 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.1125, allocations: 4 kB / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.1126, allocations: 28 kB / 342.9 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.1126, allocations: 20 kB / 342.9 MB, free: 5.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1139, allocations: 0.6688 MB / 343.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.1179, allocations: 3.095 MB / 346.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.1202, allocations: 2.078 MB / 348.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.1208, allocations: 323.5 kB / 349.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.1209, allocations: 97.73 kB / 349.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.121, allocations: 47.22 kB / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.121, allocations: 0 / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002506/0.1235, allocations: 1.146 MB / 350.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.1236, allocations: 111.5 kB / 350.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.1239, allocations: 266.5 kB / 350.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.1239, allocations: 45.7 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1241, allocations: 295.5 kB / 351.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.1243, allocations: 244.4 kB / 351.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.1245, allocations: 134.6 kB / 351.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1247, allocations: 354.7 kB / 351.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.1252, allocations: 233.9 kB / 352 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.1258, allocations: 382.2 kB / 352.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1269, allocations: 0.6376 MB / 353 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1269, allocations: 0 / 353 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001508/0.1284, allocations: 0.8267 MB / 353.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1284, allocations: 12.06 kB / 353.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1284, allocations: 4 kB / 353.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.1288, allocations: 125.6 kB / 354 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.1295, allocations: 163.7 kB / 354.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.1327, allocations: 3.785 MB / 357.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.1331, allocations: 98.97 kB / 358 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.1332, allocations: 32 kB / 358.1 MB, free: 5.129 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.000241/0.1334, allocations: 197.7 kB / 358.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.1336, allocations: 47.52 kB / 358.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.1351, allocations: 0.7374 MB / 359.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1351, allocations: 15.98 kB / 359.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1351, allocations: 4 kB / 359.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1351, allocations: 3.984 kB / 359.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.1375, allocations: 1.489 MB / 360.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1375, allocations: 4 kB / 360.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.138, allocations: 111.8 kB / 360.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.1383, allocations: 113.6 kB / 360.8 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.1384, allocations: 15.94 kB / 360.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.1409, allocations: 3.341 MB / 364.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1409, allocations: 0 / 364.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.1427, allocations: 1.121 MB / 365.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.1429, allocations: 132.5 kB / 365.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.1429, allocations: 19.91 kB / 365.4 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1433, allocations: 23.98 kB / 365.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1434, allocations: 60.5 kB / 365.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.1435, allocations: 27.98 kB / 365.5 MB, free: 13.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001839/0.1437, allocations: 190 kB / 365.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1437, allocations: 0 / 365.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007409/0.1444, allocations: 215.5 kB / 365.9 MB, free: 12.86 MB / 318.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.0002249/0.1447, allocations: 147.2 kB / 366.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1462, allocations: 0.8796 MB / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1462, allocations: 0 / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.147, allocations: 0.5642 MB / 367.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.1475, allocations: 44.48 kB / 367.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1494, allocations: 1.105 MB / 368.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1498, allocations: 0.8656 MB / 369.5 MB, free: 9.148 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.1502, allocations: 80.36 kB / 369.6 MB, free: 9.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1503, allocations: 47.42 kB / 369.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1503, allocations: 0 / 369.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01069/0.161, allocations: 6.074 MB / 375.7 MB, free: 2.945 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches