Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009891/0.0009931, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.152/1.152, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 98.28 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007872/0.0007873, allocations: 43.92 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1898, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004139/0.194, allocations: 4.299 MB / 378.1 MB, free: 42.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1958, allocations: 1.667 MB / 379.8 MB, free: 41.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1959, allocations: 15.19 kB / 379.8 MB, free: 41.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.1975, allocations: 0.9609 MB / 380.8 MB, free: 40.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.1979, allocations: 216.1 kB / 381 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.199, allocations: 0.759 MB / 381.7 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.1994, allocations: 0.6178 MB / 382.4 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.2, allocations: 474 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.2003, allocations: 260.5 kB / 383.1 MB, free: 38.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.2006, allocations: 353.3 kB / 383.4 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.2006, allocations: 40.84 kB / 383.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.201, allocations: 250.3 kB / 383.7 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.2011, allocations: 129.4 kB / 383.8 MB, free: 38.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.2013, allocations: 316.8 kB / 384.1 MB, free: 38.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.202, allocations: 0.9301 MB / 385.1 MB, free: 37.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.202, allocations: 1.219 kB / 385.1 MB, free: 37.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.202, allocations: 0 / 385.1 MB, free: 37.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.202, allocations: 0 / 385.1 MB, free: 37.54 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.002927/0.2049, allocations: 1.251 MB / 386.3 MB, free: 36.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.205, allocations: 10.19 kB / 386.3 MB, free: 36.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2061, allocations: 211.9 kB / 386.5 MB, free: 36.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2063, allocations: 242.4 kB / 386.8 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.2063, allocations: 56.28 kB / 386.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.2064, allocations: 73.16 kB / 386.9 MB, free: 36.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.2074, allocations: 0.7753 MB / 387.7 MB, free: 35.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2075, allocations: 0 / 387.7 MB, free: 35.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.2075, allocations: 32 kB / 387.7 MB, free: 35.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.2076, allocations: 16 kB / 387.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2086, allocations: 0.6696 MB / 388.4 MB, free: 34.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.2114, allocations: 3.114 MB / 391.5 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.213, allocations: 2.075 MB / 393.6 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.2134, allocations: 324.4 kB / 393.9 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.483e-05/0.2135, allocations: 90.05 kB / 394 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2136, allocations: 55.14 kB / 394 MB, free: 28.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.744e-06/0.2136, allocations: 0 / 394 MB, free: 28.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002039/0.2156, allocations: 1.138 MB / 395.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.2157, allocations: 119.4 kB / 395.3 MB, free: 27.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2158, allocations: 270.5 kB / 395.6 MB, free: 26.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.2159, allocations: 37.7 kB / 395.6 MB, free: 26.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.216, allocations: 295.4 kB / 395.9 MB, free: 26.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.2161, allocations: 248.4 kB / 396.1 MB, free: 26.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2162, allocations: 142.6 kB / 396.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.2163, allocations: 350.7 kB / 396.6 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.2167, allocations: 229.9 kB / 396.8 MB, free: 25.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.2172, allocations: 386.3 kB / 397.2 MB, free: 25.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.218, allocations: 0.6337 MB / 397.9 MB, free: 24.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.218, allocations: 4 kB / 397.9 MB, free: 24.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001191/0.2192, allocations: 0.8228 MB / 398.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2192, allocations: 8.219 kB / 398.7 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2193, allocations: 3.984 kB / 398.7 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.2196, allocations: 137.6 kB / 398.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/0.2201, allocations: 155.8 kB / 399 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.222, allocations: 3.408 MB / 402.4 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.2225, allocations: 91.19 kB / 402.5 MB, free: 19.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2225, allocations: 32 kB / 402.5 MB, free: 19.61 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.0001714/0.2227, allocations: 209.5 kB / 402.7 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.2228, allocations: 47.44 kB / 402.8 MB, free: 19.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.224, allocations: 0.7337 MB / 403.5 MB, free: 18.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.224, allocations: 15.92 kB / 403.5 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2241, allocations: 4 kB / 403.5 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2241, allocations: 0 / 403.5 MB, free: 18.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.2259, allocations: 1.504 MB / 405 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2259, allocations: 0 / 405 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.2263, allocations: 107.9 kB / 405.1 MB, free: 16.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.2265, allocations: 113.6 kB / 405.2 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.2266, allocations: 19.97 kB / 405.2 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.2281, allocations: 3.101 MB / 408.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2282, allocations: 4.031 kB / 408.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.2304, allocations: 2.339 MB / 410.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2305, allocations: 124.5 kB / 410.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.2306, allocations: 19.98 kB / 410.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.2309, allocations: 27.98 kB / 410.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.231, allocations: 52.58 kB / 410.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.2311, allocations: 23.92 kB / 410.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.2312, allocations: 190 kB / 411.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 4.062 kB / 411.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007367/0.2319, allocations: 231.5 kB / 411.4 MB, free: 10.23 MB / 298.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.000172/0.2321, allocations: 151.1 kB / 411.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2333, allocations: 0.8797 MB / 412.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2333, allocations: 0 / 412.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.2339, allocations: 0.5603 MB / 412.9 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.2343, allocations: 44.48 kB / 413 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.2361, allocations: 1.766 MB / 414.7 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.2363, allocations: 0.8694 MB / 415.6 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.2367, allocations: 88.34 kB / 415.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2368, allocations: 47.42 kB / 415.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2368, allocations: 0 / 415.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of Templates: time 0.008114/0.2449, allocations: 6.06 MB / 421.8 MB, free: 15.66 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches