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.001097/0.001097, allocations: 106.4 kB / 16.51 MB, free: 6.715 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.001098/0.001098, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009925/0.0009928, allocations: 52.42 kB / 300 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.0818, allocations: 49.45 MB / 349.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00512/0.08697, allocations: 4.316 MB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.08925, allocations: 1.639 MB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.08942, allocations: 12 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.09135, allocations: 0.9553 MB / 356.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.09178, allocations: 218.7 kB / 356.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.09322, allocations: 0.7743 MB / 357.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.09382, allocations: 0.6104 MB / 357.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006941/0.09452, allocations: 473.7 kB / 358.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.09481, allocations: 258.9 kB / 358.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.09515, allocations: 350.5 kB / 359 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.09523, allocations: 40 kB / 359 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.09566, allocations: 255.7 kB / 359.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.09577, allocations: 123.5 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.09602, allocations: 318.4 kB / 359.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.09684, allocations: 0.9385 MB / 360.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09685, allocations: 0 / 360.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.09686, allocations: 0 / 360.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.09687, allocations: 0 / 360.6 MB, free: 9.527 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.003547/0.1004, allocations: 1.26 MB / 361.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1005, allocations: 8.031 kB / 361.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.1019, allocations: 204 kB / 362.1 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.1021, allocations: 243.3 kB / 362.4 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1021, allocations: 62.31 kB / 362.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.1023, allocations: 72.38 kB / 362.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.1036, allocations: 0.7741 MB / 363.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1037, allocations: 0 / 363.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.1037, allocations: 32 kB / 363.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1037, allocations: 16 kB / 363.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.1051, allocations: 0.6649 MB / 364 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.1088, allocations: 3.111 MB / 367.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.111, allocations: 2.079 MB / 369.2 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006291/0.1117, allocations: 323.5 kB / 369.5 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1393/0.251, allocations: 91.28 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.251, allocations: 42.86 kB / 369.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.845e-06/0.2511, allocations: 0 / 369.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002714/0.2538, allocations: 1.143 MB / 370.8 MB, free: 25.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.2538, allocations: 114.2 kB / 370.9 MB, free: 25.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.2541, allocations: 283 kB / 371.1 MB, free: 25.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.2542, allocations: 36.86 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2543, allocations: 295.4 kB / 371.5 MB, free: 24.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2544, allocations: 249.8 kB / 371.7 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2546, allocations: 134.8 kB / 371.8 MB, free: 24.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2547, allocations: 350 kB / 372.2 MB, free: 24.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.2552, allocations: 233.2 kB / 372.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.2558, allocations: 386.5 kB / 372.8 MB, free: 24.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2569, allocations: 0.6331 MB / 373.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.2569, allocations: 5.531 kB / 373.4 MB, free: 23.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001505/0.2584, allocations: 0.83 MB / 374.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2584, allocations: 6.875 kB / 374.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2585, allocations: 5.75 kB / 374.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.2589, allocations: 124.6 kB / 374.4 MB, free: 23.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.2595, allocations: 158.7 kB / 374.5 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.262, allocations: 3.41 MB / 378 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.2625, allocations: 84.92 kB / 378 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.2626, allocations: 33.03 kB / 378.1 MB, free: 20.2 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.0002333/0.2628, allocations: 208.8 kB / 378.3 MB, free: 20.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.2629, allocations: 40.98 kB / 378.3 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.2645, allocations: 0.7476 MB / 379.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2645, allocations: 9.844 kB / 379.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2645, allocations: 3.922 kB / 379.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2645, allocations: 3.328 kB / 379.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.2667, allocations: 1.497 MB / 380.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2668, allocations: 0.625 kB / 380.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.2673, allocations: 114.8 kB / 380.7 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.2676, allocations: 107.8 kB / 380.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.2676, allocations: 19.05 kB / 380.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.2694, allocations: 3.112 MB / 383.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2695, allocations: 1.969 kB / 383.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2712, allocations: 1.126 MB / 385 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.2713, allocations: 127.9 kB / 385.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.2714, allocations: 12.31 kB / 385.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.2718, allocations: 31.7 kB / 385.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2719, allocations: 52.2 kB / 385.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2719, allocations: 20.53 kB / 385.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.2721, allocations: 193.3 kB / 385.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2721, allocations: 1.219 kB / 385.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.2728, allocations: 216.1 kB / 385.7 MB, free: 14.96 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.0002031/0.273, allocations: 146.4 kB / 385.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2745, allocations: 0.8739 MB / 386.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2745, allocations: 1.531 kB / 386.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.2752, allocations: 0.5677 MB / 387.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2757, allocations: 43.77 kB / 387.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.2776, allocations: 1.387 MB / 388.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2779, allocations: 0.8672 MB / 389.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.2783, allocations: 82.84 kB / 389.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.2784, allocations: 50.08 kB / 389.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2785, allocations: 0 / 389.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.009727/0.2882, allocations: 5.855 MB / 395.6 MB, free: 10.56 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/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