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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001537, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001675/0.001675, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 47.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.0773, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005301/0.08265, allocations: 4.282 MB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.08528, allocations: 1.682 MB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.08546, allocations: 12 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.08762, allocations: 1.023 MB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004942/0.08813, allocations: 246.2 kB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.08951, allocations: 0.794 MB / 336.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.09004, allocations: 0.6377 MB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006816/0.09073, allocations: 0.509 MB / 337.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.09103, allocations: 279 kB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.09142, allocations: 362.5 kB / 338.6 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.736e-05/0.09149, allocations: 59.94 kB / 338.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.09195, allocations: 263.8 kB / 338.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.09206, allocations: 147.5 kB / 339 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.09231, allocations: 326.3 kB / 339.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008235/0.09314, allocations: 0.9462 MB / 340.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.09316, allocations: 0 / 340.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09317, allocations: 7.938 kB / 340.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.09318, allocations: 3.938 kB / 340.3 MB, free: 8.133 MB / 286.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.003339/0.09653, allocations: 1.253 MB / 341.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.09657, allocations: 8.031 kB / 341.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.09793, allocations: 211.9 kB / 341.8 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.09814, allocations: 239.5 kB / 342 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.09819, allocations: 54.38 kB / 342 MB, free: 6.289 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.0983, allocations: 72.38 kB / 342.1 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.09954, allocations: 0.7701 MB / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.09957, allocations: 4 kB / 342.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.09964, allocations: 32 kB / 342.9 MB, free: 5.395 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.09966, allocations: 20 kB / 342.9 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1009, allocations: 0.6649 MB / 343.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.1046, allocations: 3.087 MB / 346.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.1067, allocations: 2.086 MB / 348.8 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005807/0.1072, allocations: 323.5 kB / 349.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.1074, allocations: 97.75 kB / 349.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1074, allocations: 47.2 kB / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.1074, allocations: 0 / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00241/0.1098, allocations: 1.141 MB / 350.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1099, allocations: 111.5 kB / 350.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.1102, allocations: 274.5 kB / 350.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.1102, allocations: 41.73 kB / 350.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1104, allocations: 291.5 kB / 351.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.1106, allocations: 248.4 kB / 351.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.1108, allocations: 138.6 kB / 351.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1109, allocations: 350.7 kB / 351.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/0.1114, allocations: 229.9 kB / 352 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.112, allocations: 386.2 kB / 352.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1131, allocations: 0.6337 MB / 353 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1131, allocations: 0 / 353 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001511/0.1146, allocations: 0.8306 MB / 353.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1147, allocations: 12.03 kB / 353.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1147, allocations: 4 kB / 353.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.1151, allocations: 121.6 kB / 354 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.1157, allocations: 171.7 kB / 354.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.119, allocations: 3.785 MB / 358 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.1195, allocations: 95.09 kB / 358 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.1195, allocations: 31.98 kB / 358.1 MB, free: 5.125 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.000255/0.1198, allocations: 205.6 kB / 358.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.1199, allocations: 43.53 kB / 358.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.1214, allocations: 0.7452 MB / 359.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1214, allocations: 8 kB / 359.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1214, allocations: 0 / 359.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1215, allocations: 7.984 kB / 359.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.1238, allocations: 1.485 MB / 360.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1239, allocations: 0 / 360.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.1244, allocations: 115.8 kB / 360.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.1246, allocations: 117.6 kB / 360.8 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.1247, allocations: 16 kB / 360.8 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.1271, allocations: 3.341 MB / 364.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1271, allocations: 0 / 364.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.1289, allocations: 1.121 MB / 365.3 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.129, allocations: 132.5 kB / 365.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/0.1291, allocations: 15.91 kB / 365.4 MB, free: 13.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.1295, allocations: 31.98 kB / 365.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1296, allocations: 52.58 kB / 365.5 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.1297, allocations: 19.98 kB / 365.5 MB, free: 13.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1298, allocations: 190 kB / 365.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1298, allocations: 0 / 365.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.1305, allocations: 219.5 kB / 365.9 MB, free: 12.86 MB / 318.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.0002131/0.1308, allocations: 147.1 kB / 366.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.1322, allocations: 0.8797 MB / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1322, allocations: 0 / 366.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.133, allocations: 0.5603 MB / 367.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1335, allocations: 44.48 kB / 367.5 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1353, allocations: 1.116 MB / 368.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1357, allocations: 0.8616 MB / 369.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.136, allocations: 88.34 kB / 369.6 MB, free: 9.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1361, allocations: 43.42 kB / 369.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1362, allocations: 3.938 kB / 369.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of Templates: time 0.01041/0.1466, allocations: 6.066 MB / 375.7 MB, free: 2.941 MB / 318.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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