Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.00141/0.00141, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.424/1.424, allocations: 205.1 MB / 225 MB, free: 12.33 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.002198/0.002199, allocations: 63.86 kB / 281.3 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1058, allocations: 46.62 MB / 328 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004985/0.1108, allocations: 4.127 MB / 332.1 MB, free: 320 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1133, allocations: 1.682 MB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1135, allocations: 8 kB / 333.8 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.1156, allocations: 1.007 MB / 334.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.116, allocations: 238.2 kB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1174, allocations: 0.7939 MB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.118, allocations: 0.6106 MB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.1187, allocations: 0.4957 MB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.119, allocations: 271 kB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.1193, allocations: 334.6 kB / 337.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.1194, allocations: 52 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1199, allocations: 275.7 kB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.12, allocations: 139.5 kB / 338 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.1203, allocations: 306.5 kB / 338.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008465/0.1211, allocations: 0.8995 MB / 339.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1211, allocations: 0 / 339.2 MB, free: 9.199 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1211, allocations: 3.938 kB / 339.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1211, allocations: 0 / 339.2 MB, free: 9.195 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003378/0.1245, allocations: 1.206 MB / 340.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1246, allocations: 8.031 kB / 340.4 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1256, allocations: 176 kB / 340.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1258, allocations: 236.2 kB / 340.8 MB, free: 7.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.1259, allocations: 50.38 kB / 340.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.126, allocations: 72.28 kB / 340.9 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.1272, allocations: 0.7038 MB / 341.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.1273, allocations: 4 kB / 341.6 MB, free: 6.648 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.1273, allocations: 28 kB / 341.6 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.1274, allocations: 16 kB / 341.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.1286, allocations: 0.6023 MB / 342.3 MB, free: 6.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.1318, allocations: 2.312 MB / 344.6 MB, free: 3.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.1334, allocations: 1.64 MB / 346.2 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.1339, allocations: 275.3 kB / 346.5 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.1341, allocations: 93.66 kB / 346.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1341, allocations: 51.11 kB / 346.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.836e-06/0.1341, allocations: 3.938 kB / 346.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001541/0.1357, allocations: 0.6939 MB / 347.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.1358, allocations: 119.4 kB / 347.4 MB, free: 400 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.136, allocations: 260.8 kB / 347.7 MB, free: 128 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1361, allocations: 37.7 kB / 347.7 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1362, allocations: 264 kB / 348 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1364, allocations: 216.8 kB / 348.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.1366, allocations: 118.6 kB / 348.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1367, allocations: 346.8 kB / 348.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.1372, allocations: 209.9 kB / 348.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.1378, allocations: 297.4 kB / 349.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1388, allocations: 0.522 MB / 349.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1388, allocations: 4 kB / 349.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001194/0.14, allocations: 0.6217 MB / 350.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.14, allocations: 8 kB / 350.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.14, allocations: 0 / 350.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.1401, allocations: 8 kB / 350.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.1408, allocations: 164 kB / 350.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1408, allocations: 8 kB / 350.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.1412, allocations: 67.34 kB / 350.5 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.1413, allocations: 28 kB / 350.6 MB, free: 13.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.1415, allocations: 189.6 kB / 350.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1416, allocations: 39.53 kB / 350.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.1429, allocations: 0.6046 MB / 351.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1429, allocations: 8 kB / 351.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1429, allocations: 3.938 kB / 351.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.143, allocations: 3.984 kB / 351.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.145, allocations: 1.292 MB / 352.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.145, allocations: 4 kB / 352.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.1455, allocations: 131.8 kB / 352.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1455, allocations: 4 kB / 352.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1456, allocations: 12 kB / 352.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1456, allocations: 3.938 kB / 352.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1456, allocations: 4 kB / 352.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.1472, allocations: 0.9743 MB / 353.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.1473, allocations: 120.5 kB / 354 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.1474, allocations: 12.06 kB / 354 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.1478, allocations: 39.91 kB / 354 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.1479, allocations: 44.5 kB / 354 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.148, allocations: 16 kB / 354.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.1482, allocations: 192.5 kB / 354.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1482, allocations: 0 / 354.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.1487, allocations: 183.5 kB / 354.4 MB, free: 9.191 MB / 302.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002233/0.1489, allocations: 139.1 kB / 354.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.1504, allocations: 0.5624 MB / 355.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1504, allocations: 0 / 355.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1509, allocations: 275 kB / 355.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.1514, allocations: 52.84 kB / 355.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.1534, allocations: 1.106 MB / 356.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.1538, allocations: 0.8421 MB / 357.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.154, allocations: 59.41 kB / 357.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.154, allocations: 0 / 357.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of Templates: time 0.00912/0.1631, allocations: 6.677 MB / 364.1 MB, free: 15.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches