Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 185.9 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007621/0.0007621, allocations: 94.3 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002243, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.183, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.002822/0.1859, allocations: 3.704 MB / 408.3 MB, free: 27.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1878, allocations: 2.318 MB / 410.6 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1879, allocations: 12.5 kB / 410.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1883, allocations: 220.3 kB / 410.8 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.1888, allocations: 212.4 kB / 411 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.19, allocations: 1.502 MB / 412.5 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.1904, allocations: 0.6104 MB / 413.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1917, allocations: 1.499 MB / 414.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.1919, allocations: 231 kB / 414.9 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1922, allocations: 322.5 kB / 415.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1922, allocations: 32 kB / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1926, allocations: 235.7 kB / 415.5 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1927, allocations: 107.5 kB / 415.6 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.1929, allocations: 316.1 kB / 415.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.1934, allocations: 0.9084 MB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1934, allocations: 4 kB / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1935, allocations: 0 / 416.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1935, allocations: 0 / 416.8 MB, free: 18.55 MB / 298.7 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.002732/0.1962, allocations: 1.155 MB / 417.9 MB, free: 17.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1962, allocations: 8.031 kB / 417.9 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.1974, allocations: 207.9 kB / 418.2 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1975, allocations: 248.2 kB / 418.4 MB, free: 16.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.1976, allocations: 58.38 kB / 418.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.1977, allocations: 72.38 kB / 418.5 MB, free: 16.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1988, allocations: 0.7741 MB / 419.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1988, allocations: 3.938 kB / 419.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.1989, allocations: 32 kB / 419.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1989, allocations: 16 kB / 419.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1999, allocations: 0.6806 MB / 420 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.2029, allocations: 3.126 MB / 423.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.2045, allocations: 2.079 MB / 425.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.205, allocations: 334.7 kB / 425.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.548e-05/0.2051, allocations: 109.6 kB / 425.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2051, allocations: 43.22 kB / 425.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.2051, allocations: 0 / 425.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002133/0.2073, allocations: 1.169 MB / 426.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.2073, allocations: 115.4 kB / 427 MB, free: 7.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2075, allocations: 270.5 kB / 427.3 MB, free: 7.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2075, allocations: 41.69 kB / 427.3 MB, free: 7.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.2076, allocations: 295.4 kB / 427.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.2077, allocations: 240.5 kB / 427.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2078, allocations: 20 kB / 427.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.2078, allocations: 350.7 kB / 428.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.2083, allocations: 237.9 kB / 428.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.2087, allocations: 394.3 kB / 428.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.2096, allocations: 0.6532 MB / 429.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2097, allocations: 4 kB / 429.5 MB, free: 4.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001266/0.2109, allocations: 0.8461 MB / 430.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.211, allocations: 8 kB / 430.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.211, allocations: 4 kB / 430.3 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.2113, allocations: 125.7 kB / 430.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.2119, allocations: 159.8 kB / 430.6 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.2139, allocations: 3.415 MB / 434 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.2144, allocations: 99.09 kB / 434.1 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.2145, allocations: 24 kB / 434.1 MB, free: 16 kB / 298.7 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.0002778/0.2147, allocations: 197.7 kB / 434.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.2148, allocations: 43.59 kB / 434.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.2163, allocations: 0.7725 MB / 435.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2163, allocations: 8 kB / 435.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2163, allocations: 4 kB / 435.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2164, allocations: 3.984 kB / 435.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.2187, allocations: 1.516 MB / 436.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2187, allocations: 4 kB / 436.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.2192, allocations: 115.9 kB / 436.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.2195, allocations: 109.6 kB / 436.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.2195, allocations: 19.94 kB / 436.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.2219, allocations: 3.105 MB / 440 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2219, allocations: 4.031 kB / 440 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.2238, allocations: 1.147 MB / 441.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2239, allocations: 124.5 kB / 441.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.224, allocations: 12 kB / 441.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.2244, allocations: 39.92 kB / 441.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.2245, allocations: 52.64 kB / 441.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.2245, allocations: 23.98 kB / 441.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.2247, allocations: 194 kB / 441.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2247, allocations: 0 / 441.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006953/0.2254, allocations: 215.5 kB / 441.8 MB, free: 7.918 MB / 314.7 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.0002328/0.2257, allocations: 155.1 kB / 442 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.2272, allocations: 0.9108 MB / 442.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2272, allocations: 0 / 442.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.228, allocations: 0.5643 MB / 443.4 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2285, allocations: 44.41 kB / 443.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.2306, allocations: 1.44 MB / 444.9 MB, free: 4.719 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.2311, allocations: 0.8732 MB / 445.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000407/0.2315, allocations: 80.36 kB / 445.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2317, allocations: 43.42 kB / 445.9 MB, free: 3.703 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2317, allocations: 0 / 445.9 MB, free: 3.703 MB / 314.7 MB Notification: Performance of Templates: time 0.01026/0.2419, allocations: 5.782 MB / 451.7 MB, free: 13.93 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches