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.0008752/0.0008751, allocations: 176.5 kB / 17.4 MB, free: 4.398 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.421/1.421, allocations: 223.3 MB / 241.4 MB, free: 9.941 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.0007435/0.0007437, allocations: 94.06 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 11.94 kB / 352.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 50.4 MB / 402.8 MB, free: 32.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08872/0.2834, allocations: 82.63 MB / 485.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.2837, allocations: 83.95 kB / 485.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0453/0.329, allocations: 20.78 MB / 0.4944 GB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.329, allocations: 0 / 0.4944 GB, free: 8.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.3291, allocations: 12 kB / 0.4944 GB, free: 8.512 MB / 378.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.002656/0.3317, allocations: 0.9912 MB / 0.4954 GB, free: 7.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.3318, allocations: 12.03 kB / 0.4954 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.3333, allocations: 211.9 kB / 0.4956 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.3336, allocations: 237.7 kB / 0.4958 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.3337, allocations: 58.38 kB / 0.4959 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.334, allocations: 72.38 kB / 0.4959 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.3357, allocations: 0.7782 MB / 0.4967 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.3358, allocations: 8.188 kB / 0.4967 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3358, allocations: 31.94 kB / 0.4967 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3359, allocations: 20 kB / 0.4967 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3373, allocations: 0.6922 MB / 0.4974 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.3417, allocations: 3.149 MB / 0.5005 GB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.183/0.5248, allocations: 2.078 MB / 0.5025 GB, free: 90.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009456/0.5258, allocations: 331.7 kB / 0.5028 GB, free: 90.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.5259, allocations: 99.16 kB / 0.5029 GB, free: 90.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.5259, allocations: 41.12 kB / 0.503 GB, free: 90.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.925e-06/0.526, allocations: 0 / 0.503 GB, free: 90.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002677/0.5286, allocations: 1.187 MB / 0.5041 GB, free: 89.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.5287, allocations: 112.3 kB / 0.5042 GB, free: 89.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.529, allocations: 268.9 kB / 0.5045 GB, free: 89.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.529, allocations: 36.2 kB / 0.5045 GB, free: 89.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5292, allocations: 301.1 kB / 0.5048 GB, free: 89.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.5293, allocations: 247.1 kB / 0.5051 GB, free: 89.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.5294, allocations: 14.97 kB / 0.5051 GB, free: 89.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.5295, allocations: 351.4 kB / 0.5054 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.5299, allocations: 238.7 kB / 0.5056 GB, free: 89.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.5305, allocations: 396.7 kB / 0.506 GB, free: 88.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5317, allocations: 0.6561 MB / 0.5067 GB, free: 88.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.5317, allocations: 1.969 kB / 0.5067 GB, free: 88.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001652/0.5333, allocations: 0.8493 MB / 0.5075 GB, free: 88.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.5334, allocations: 8.156 kB / 0.5075 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5334, allocations: 6.312 kB / 0.5075 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003428/0.5337, allocations: 128.2 kB / 0.5076 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.5343, allocations: 165.2 kB / 0.5078 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5366, allocations: 3.413 MB / 0.5111 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.5371, allocations: 99.77 kB / 0.5112 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.5372, allocations: 32.16 kB / 0.5112 GB, free: 85.98 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002627/0.5374, allocations: 195.1 kB / 0.5114 GB, free: 85.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.5375, allocations: 41.97 kB / 0.5115 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.5388, allocations: 0.765 MB / 0.5122 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5389, allocations: 7.5 kB / 0.5122 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5389, allocations: 3.969 kB / 0.5122 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5389, allocations: 7.828 kB / 0.5122 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.5409, allocations: 1.519 MB / 0.5137 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5409, allocations: 0 / 0.5137 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.5414, allocations: 122 kB / 0.5138 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.5416, allocations: 108.8 kB / 0.5139 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.5417, allocations: 15.8 kB / 0.5139 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001701/0.5434, allocations: 3.12 MB / 0.517 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5434, allocations: 3.188 kB / 0.517 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.545, allocations: 1.154 MB / 0.5181 GB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.5451, allocations: 125.7 kB / 0.5182 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.5451, allocations: 19.31 kB / 0.5183 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.5455, allocations: 31.94 kB / 0.5183 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5456, allocations: 52.06 kB / 0.5183 GB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.5457, allocations: 24.97 kB / 0.5184 GB, free: 82.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.5458, allocations: 191.1 kB / 0.5185 GB, free: 82.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5458, allocations: 0 / 0.5185 GB, free: 82.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007245/0.5466, allocations: 224 kB / 0.5188 GB, free: 82.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002222/0.5468, allocations: 164.5 kB / 0.5189 GB, free: 82.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.5481, allocations: 0.8973 MB / 0.5198 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5481, allocations: 0 / 0.5198 GB, free: 81.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.5487, allocations: 0.5745 MB / 0.5204 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.5492, allocations: 40.59 kB / 0.5204 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.5509, allocations: 1.378 MB / 0.5217 GB, free: 80.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.5512, allocations: 0.8625 MB / 0.5226 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.5516, allocations: 84.89 kB / 0.5227 GB, free: 80.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.5517, allocations: 47.11 kB / 0.5227 GB, free: 80.05 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5517, allocations: 0 / 0.5227 GB, free: 80.05 MB / 378.7 MB Notification: Performance of Templates: time 0.009181/0.5609, allocations: 5.678 MB / 0.5283 GB, free: 79.75 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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