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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009872, allocations: 102.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007941/0.0007941, allocations: 39.94 kB / 350.1 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.214, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004052/0.2181, allocations: 4.319 MB / 403.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2201, allocations: 1.628 MB / 405.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2203, allocations: 12 kB / 405.5 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2221, allocations: 0.963 MB / 406.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.2225, allocations: 214.7 kB / 406.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2237, allocations: 0.767 MB / 407.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004036/0.2241, allocations: 0.6221 MB / 408 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.2247, allocations: 477.7 kB / 408.5 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.225, allocations: 254.9 kB / 408.7 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.2252, allocations: 354.5 kB / 409.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.2253, allocations: 43.98 kB / 409.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.2257, allocations: 251.8 kB / 409.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.2258, allocations: 123.5 kB / 409.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.226, allocations: 314.3 kB / 409.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.2266, allocations: 0.9398 MB / 410.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2266, allocations: 0 / 410.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2267, allocations: 0 / 410.7 MB, free: 22.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.2267, allocations: 0 / 410.7 MB, free: 22.07 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.003066/0.2297, allocations: 1.264 MB / 412 MB, free: 20.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2298, allocations: 8.031 kB / 412 MB, free: 20.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.231, allocations: 211.9 kB / 412.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2312, allocations: 241.5 kB / 412.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2312, allocations: 58.38 kB / 412.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/0.2313, allocations: 72.38 kB / 412.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2324, allocations: 0.774 MB / 413.3 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2325, allocations: 4 kB / 413.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.2325, allocations: 28 kB / 413.4 MB, free: 19.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2325, allocations: 16 kB / 413.4 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2337, allocations: 0.6649 MB / 414.1 MB, free: 18.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.2368, allocations: 3.114 MB / 417.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.2386, allocations: 2.076 MB / 419.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.2391, allocations: 327.5 kB / 419.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.811e-05/0.2392, allocations: 97.73 kB / 419.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2393, allocations: 39.22 kB / 419.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/0.2393, allocations: 0 / 419.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002277/0.2416, allocations: 1.142 MB / 420.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.2416, allocations: 111.5 kB / 421 MB, free: 11.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.2419, allocations: 274.5 kB / 421.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2419, allocations: 33.7 kB / 421.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.242, allocations: 295.4 kB / 421.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2421, allocations: 252.4 kB / 421.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2423, allocations: 138.6 kB / 421.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.2424, allocations: 354.7 kB / 422.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.2428, allocations: 225.9 kB / 422.5 MB, free: 9.504 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.2433, allocations: 386.2 kB / 422.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.2442, allocations: 0.6337 MB / 423.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2442, allocations: 4 kB / 423.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00134/0.2456, allocations: 0.8304 MB / 424.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2456, allocations: 4 kB / 424.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2456, allocations: 4 kB / 424.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.246, allocations: 133.7 kB / 424.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.2465, allocations: 163.7 kB / 424.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.2486, allocations: 3.404 MB / 428 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.2491, allocations: 91.09 kB / 428.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.2492, allocations: 28 kB / 428.2 MB, free: 3.449 MB / 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.0002239/0.2494, allocations: 205.5 kB / 428.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/0.2495, allocations: 39.53 kB / 428.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.2508, allocations: 0.7492 MB / 429.1 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2509, allocations: 8 kB / 429.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2509, allocations: 4 kB / 429.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2509, allocations: 3.984 kB / 429.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.2529, allocations: 1.501 MB / 430.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2529, allocations: 0 / 430.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.2534, allocations: 111.8 kB / 430.8 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.2536, allocations: 113.6 kB / 430.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.2537, allocations: 12 kB / 430.9 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.2559, allocations: 3.121 MB / 434 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.256, allocations: 4.031 kB / 434 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.2589, allocations: 2.339 MB / 436.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.259, allocations: 124.5 kB / 436.5 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.2591, allocations: 12 kB / 436.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.2595, allocations: 35.97 kB / 436.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2596, allocations: 52.52 kB / 436.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.2596, allocations: 23.94 kB / 436.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.2598, allocations: 198 kB / 436.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2598, allocations: 0 / 436.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008283/0.2607, allocations: 227.5 kB / 437 MB, free: 10.06 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.0002347/0.2609, allocations: 143.2 kB / 437.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.2624, allocations: 0.8913 MB / 438 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2624, allocations: 0.8125 kB / 438 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.2631, allocations: 0.5556 MB / 438.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2636, allocations: 44.42 kB / 438.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2658, allocations: 1.76 MB / 440.4 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2662, allocations: 0.8811 MB / 441.3 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.2666, allocations: 88.28 kB / 441.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2667, allocations: 47.42 kB / 441.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2667, allocations: 0 / 441.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of Templates: time 0.01015/0.2769, allocations: 6.071 MB / 447.5 MB, free: 15.48 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@2/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