Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001092/0.001092, allocations: 198.9 kB / 18.08 MB, free: 5.422 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: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 40.44 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1193, allocations: 49.45 MB / 350.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00627/0.1256, allocations: 4.328 MB / 354.4 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1289, allocations: 1.631 MB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.1296, allocations: 12 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.132, allocations: 0.9638 MB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009243/0.1329, allocations: 214.6 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.1346, allocations: 0.7744 MB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008986/0.1356, allocations: 0.6104 MB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009187/0.1365, allocations: 473.7 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.137, allocations: 254.9 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.1375, allocations: 358.5 kB / 359.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1377, allocations: 40 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.1384, allocations: 251.8 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1386, allocations: 127.5 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.1392, allocations: 306.4 kB / 360.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1403, allocations: 0.7366 MB / 361.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1404, allocations: 0 / 361.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1404, allocations: 0 / 361.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.336e-05/0.1404, allocations: 0 / 361.1 MB, free: 9.742 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.004549/0.145, allocations: 1.257 MB / 362.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.145, allocations: 12.03 kB / 362.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.1465, allocations: 204 kB / 362.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1468, allocations: 247.3 kB / 362.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.1469, allocations: 58.38 kB / 362.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.147, allocations: 76.36 kB / 362.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.1485, allocations: 0.7663 MB / 363.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.1486, allocations: 7.938 kB / 363.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.1486, allocations: 31.94 kB / 363.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.1487, allocations: 20 kB / 363.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.15, allocations: 0.6688 MB / 364.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.1543, allocations: 3.099 MB / 367.5 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.1567, allocations: 2.079 MB / 369.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006356/0.1573, allocations: 323.8 kB / 369.9 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.1574, allocations: 101.7 kB / 370 MB, free: 128 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.1575, allocations: 39.22 kB / 370.1 MB, free: 80 kB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.1575, allocations: 0 / 370.1 MB, free: 80 kB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.2261/0.3836, allocations: 1.142 MB / 371.2 MB, free: 25.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3837, allocations: 112.2 kB / 371.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.384, allocations: 281.9 kB / 371.6 MB, free: 25.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.3841, allocations: 34.77 kB / 371.6 MB, free: 25.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3843, allocations: 295.4 kB / 371.9 MB, free: 24.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.3845, allocations: 247.8 kB / 372.2 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3847, allocations: 135.3 kB / 372.3 MB, free: 24.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3848, allocations: 350.4 kB / 372.6 MB, free: 24.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3854, allocations: 228.5 kB / 372.9 MB, free: 24.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.386, allocations: 390.7 kB / 373.2 MB, free: 24.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3872, allocations: 0.6368 MB / 373.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3872, allocations: 1.031 kB / 373.9 MB, free: 23.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0016/0.3888, allocations: 0.832 MB / 374.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3888, allocations: 5.5 kB / 374.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3888, allocations: 4.969 kB / 374.7 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.3893, allocations: 130.7 kB / 374.8 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006884/0.39, allocations: 158.8 kB / 375 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.3929, allocations: 3.408 MB / 378.4 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.3935, allocations: 90.28 kB / 378.5 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.3936, allocations: 28.36 kB / 378.5 MB, free: 20.34 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.0002913/0.3939, allocations: 204.7 kB / 378.7 MB, free: 20.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.394, allocations: 46.61 kB / 378.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.3956, allocations: 0.7433 MB / 379.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3956, allocations: 10.84 kB / 379.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3957, allocations: 8.781 kB / 379.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3957, allocations: 4.719 kB / 379.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3982, allocations: 1.501 MB / 381 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3982, allocations: 1.469 kB / 381 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.3987, allocations: 110.8 kB / 381.1 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/0.3991, allocations: 112.2 kB / 381.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.3991, allocations: 14.89 kB / 381.3 MB, free: 18.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.4013, allocations: 3.106 MB / 384.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4013, allocations: 3.609 kB / 384.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.4034, allocations: 1.124 MB / 385.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4035, allocations: 127.8 kB / 385.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.4036, allocations: 13.09 kB / 385.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.404, allocations: 31.66 kB / 385.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.4041, allocations: 51.75 kB / 385.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4042, allocations: 24.39 kB / 385.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002099/0.4044, allocations: 194.2 kB / 385.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4044, allocations: 0 / 385.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001117/0.4055, allocations: 213.7 kB / 386.1 MB, free: 15.11 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.0002704/0.4058, allocations: 154.9 kB / 386.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.4075, allocations: 0.8737 MB / 387.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4075, allocations: 0 / 387.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.4084, allocations: 0.5669 MB / 387.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.4091, allocations: 44.62 kB / 387.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4113, allocations: 1.414 MB / 389.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.4118, allocations: 0.8703 MB / 390.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.412, allocations: 53.03 kB / 390.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.412, allocations: 0 / 390.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Templates: time 0.01356/0.4256, allocations: 11.48 MB / 401.6 MB, free: 6.199 MB / 302.1 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches