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.001706/0.001706, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.002/0.002, allocations: 187.1 kB / 18.67 MB, free: 4.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.462/1.462, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 43.88 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2325, allocations: 49.45 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004983/0.2376, allocations: 4.321 MB / 405.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.24, allocations: 1.643 MB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.2402, allocations: 12 kB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.2423, allocations: 1.023 MB / 408.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.2428, allocations: 250.2 kB / 408.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2443, allocations: 0.8004 MB / 409.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000566/0.2448, allocations: 0.6414 MB / 410.1 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.2455, allocations: 0.5065 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.2459, allocations: 282.9 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.2463, allocations: 358.5 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.2463, allocations: 56 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.2468, allocations: 267.8 kB / 411.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-05/0.2469, allocations: 147.4 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2472, allocations: 322.4 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009083/0.2481, allocations: 0.9616 MB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2481, allocations: 0 / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2481, allocations: 4 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2481, allocations: 0 / 413 MB, free: 13.24 MB / 334.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.00348/0.2516, allocations: 1.249 MB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.2517, allocations: 12.03 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.2531, allocations: 211.9 kB / 414.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2533, allocations: 235.5 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.2533, allocations: 54.38 kB / 414.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2534, allocations: 80.27 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2547, allocations: 0.7624 MB / 415.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.2548, allocations: 4 kB / 415.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.2548, allocations: 32 kB / 415.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.2549, allocations: 23.94 kB / 415.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.2562, allocations: 0.6688 MB / 416.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.2599, allocations: 3.087 MB / 419.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.2621, allocations: 2.068 MB / 421.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.2628, allocations: 335.6 kB / 421.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2629, allocations: 93.75 kB / 421.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.263, allocations: 55.44 kB / 421.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.334e-06/0.263, allocations: 0 / 421.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002571/0.2655, allocations: 1.149 MB / 423.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.2656, allocations: 107.5 kB / 423.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2659, allocations: 274.4 kB / 423.4 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.2659, allocations: 41.7 kB / 423.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.2661, allocations: 295.4 kB / 423.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.2663, allocations: 244.4 kB / 424 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.2665, allocations: 138.6 kB / 424.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2666, allocations: 354.7 kB / 424.5 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.2672, allocations: 237.9 kB / 424.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.2677, allocations: 378.3 kB / 425.1 MB, free: 256 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2689, allocations: 0.6338 MB / 425.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2689, allocations: 0 / 425.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001597/0.2705, allocations: 0.8306 MB / 426.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2705, allocations: 8 kB / 426.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2706, allocations: 4 kB / 426.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003879/0.271, allocations: 133.7 kB / 426.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.2716, allocations: 155.8 kB / 426.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.2747, allocations: 3.785 MB / 430.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.2753, allocations: 87.19 kB / 430.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.2753, allocations: 32 kB / 430.8 MB, free: 10.24 MB / 350.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.0002561/0.2756, allocations: 197.6 kB / 430.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.2757, allocations: 43.44 kB / 431 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.2772, allocations: 0.7493 MB / 431.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2772, allocations: 8 kB / 431.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2772, allocations: 4 kB / 431.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2772, allocations: 7.922 kB / 431.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.2796, allocations: 1.493 MB / 433.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2796, allocations: 0 / 433.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.2801, allocations: 111.9 kB / 433.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.2804, allocations: 117.6 kB / 433.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.2805, allocations: 12 kB / 433.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.2831, allocations: 3.349 MB / 436.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2831, allocations: 4.062 kB / 436.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.285, allocations: 1.121 MB / 438 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.2851, allocations: 132.4 kB / 438.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.2851, allocations: 16 kB / 438.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.2855, allocations: 23.98 kB / 438.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2857, allocations: 52.58 kB / 438.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.2857, allocations: 28.05 kB / 438.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.2859, allocations: 194 kB / 438.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2859, allocations: 0 / 438.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.2867, allocations: 215.4 kB / 438.6 MB, free: 1.977 MB / 350.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.0002282/0.2869, allocations: 151.1 kB / 438.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2884, allocations: 0.8764 MB / 439.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2884, allocations: 0 / 439.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.2892, allocations: 0.5635 MB / 440.2 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2897, allocations: 40.48 kB / 440.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.2916, allocations: 1.15 MB / 441.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.292, allocations: 0.8616 MB / 442.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.2922, allocations: 51.42 kB / 442.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2922, allocations: 0 / 442.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01288/0.3051, allocations: 11.55 MB / 453.8 MB, free: 2.605 MB / 366.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