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.001504/0.001504, allocations: 107.1 kB / 17.74 MB, free: 5.438 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.001695/0.001695, allocations: 186.5 kB / 18.66 MB, free: 4.516 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000986/0.000986, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2005, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005329/0.2058, allocations: 4.335 MB / 405.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.2085, allocations: 1.646 MB / 407.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.2087, allocations: 12 kB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.211, allocations: 1.021 MB / 408.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.2116, allocations: 246.2 kB / 408.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.2132, allocations: 0.8038 MB / 409.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.2138, allocations: 0.6375 MB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007636/0.2146, allocations: 0.513 MB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.215, allocations: 278.9 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004251/0.2154, allocations: 362.5 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/0.2155, allocations: 56 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.216, allocations: 275.7 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2161, allocations: 135.5 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002818/0.2164, allocations: 326.4 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2175, allocations: 0.9649 MB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2175, allocations: 0 / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2175, allocations: 0 / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.2175, allocations: 3.938 kB / 413 MB, free: 13.25 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.003633/0.2212, allocations: 1.271 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2212, allocations: 8.031 kB / 414.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.2226, allocations: 208.3 kB / 414.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2228, allocations: 239.5 kB / 414.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.2229, allocations: 54.38 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.223, allocations: 80.33 kB / 414.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.2244, allocations: 0.774 MB / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.2244, allocations: 0 / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.2245, allocations: 35.94 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2245, allocations: 16 kB / 415.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.2259, allocations: 0.6649 MB / 416.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.2298, allocations: 3.096 MB / 419.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.2321, allocations: 2.071 MB / 421.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.2328, allocations: 335.6 kB / 421.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.2329, allocations: 97.73 kB / 421.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2329, allocations: 43.22 kB / 422 MB, free: 3.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.2329, allocations: 0 / 422 MB, free: 3.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002577/0.2355, allocations: 1.146 MB / 423.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.2356, allocations: 111.5 kB / 423.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.2359, allocations: 274.5 kB / 423.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.2359, allocations: 33.7 kB / 423.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.2361, allocations: 300.4 kB / 423.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2363, allocations: 269.8 kB / 424.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.2365, allocations: 134.6 kB / 424.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2366, allocations: 354.7 kB / 424.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.2371, allocations: 225.9 kB / 424.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.2377, allocations: 386.2 kB / 425.1 MB, free: 224 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2389, allocations: 0.6337 MB / 425.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2389, allocations: 4 kB / 425.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001591/0.2405, allocations: 0.8344 MB / 426.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2405, allocations: 4 kB / 426.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2405, allocations: 4.281 kB / 426.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.2409, allocations: 125.6 kB / 426.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.2416, allocations: 163.7 kB / 426.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.2448, allocations: 3.797 MB / 430.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.2453, allocations: 83.39 kB / 430.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/0.2454, allocations: 31.98 kB / 430.8 MB, free: 10.2 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.0002314/0.2456, allocations: 209.7 kB / 431 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.2457, allocations: 43.72 kB / 431.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.2473, allocations: 0.7375 MB / 431.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2473, allocations: 3.984 kB / 431.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2473, allocations: 11.94 kB / 431.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.355e-05/0.2474, allocations: 128.7 kB / 431.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.2475, allocations: 15.94 kB / 432 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.2479, allocations: 24.09 kB / 432 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.248, allocations: 64.5 kB / 432 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001763/0.2497, allocations: 0.8576 MB / 432.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001716/0.2515, allocations: 1.08 MB / 434 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004779/0.252, allocations: 245.1 kB / 434.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2522, allocations: 194 kB / 434.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2522, allocations: 0 / 434.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2538, allocations: 0.8773 MB / 435.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 0.001536/0.2554, allocations: 1.469 MB / 436.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01495/0.2704, allocations: 9.256 MB / 446 MB, free: 10.86 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