Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 105.4 kB / 18.35 MB, free: 4.77 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.001436/0.001436, allocations: 192 kB / 19.29 MB, free: 3.84 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.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.00124/0.00124, allocations: 47.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08436, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006352/0.09075, allocations: 5.211 MB / 334 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.09334, allocations: 1.725 MB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.09359, allocations: 20 kB / 335.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.09645, allocations: 1.416 MB / 337.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.09713, allocations: 309.7 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.09863, allocations: 0.8058 MB / 338.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008428/0.09948, allocations: 0.813 MB / 339 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009945/0.1005, allocations: 0.7691 MB / 339.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.1009, allocations: 350.7 kB / 340.1 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.1013, allocations: 462.1 kB / 340.6 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.352e-05/0.1014, allocations: 75.94 kB / 340.7 MB, free: 7.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.1019, allocations: 263.8 kB / 340.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.102, allocations: 179.3 kB / 341.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.1023, allocations: 421.9 kB / 341.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1034, allocations: 1.184 MB / 342.7 MB, free: 5.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1034, allocations: 0 / 342.7 MB, free: 5.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1034, allocations: 4 kB / 342.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1034, allocations: 0 / 342.7 MB, free: 5.703 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003634/0.1071, allocations: 1.443 MB / 344.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1071, allocations: 12.03 kB / 344.2 MB, free: 4.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.1087, allocations: 251.7 kB / 344.4 MB, free: 3.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1089, allocations: 259.2 kB / 344.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.109, allocations: 74.38 kB / 344.7 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.1092, allocations: 104.3 kB / 344.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1106, allocations: 0.9461 MB / 345.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.1106, allocations: 0 / 345.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.1107, allocations: 40 kB / 345.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1107, allocations: 28 kB / 345.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.112, allocations: 0.7808 MB / 346.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004799/0.1168, allocations: 3.349 MB / 350 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.1187, allocations: 1.257 MB / 351.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.1192, allocations: 369.2 kB / 351.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1194, allocations: 106.1 kB / 351.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1194, allocations: 39.56 kB / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.475e-06/0.1194, allocations: 0 / 351.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002071/0.1215, allocations: 1.308 MB / 353 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1215, allocations: 90.11 kB / 353.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.1219, allocations: 372.2 kB / 353.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.122, allocations: 41.7 kB / 353.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1222, allocations: 382.9 kB / 353.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.1224, allocations: 291.8 kB / 354.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.1227, allocations: 174.8 kB / 354.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1228, allocations: 358.8 kB / 354.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.1233, allocations: 266.5 kB / 355 MB, free: 8.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.1239, allocations: 479.4 kB / 355.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1249, allocations: 0.7666 MB / 356.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1249, allocations: 0 / 356.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001572/0.1265, allocations: 0.9765 MB / 357.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1265, allocations: 8 kB / 357.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1265, allocations: 7.938 kB / 357.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/0.1269, allocations: 123.7 kB / 357.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.1277, allocations: 211.6 kB / 357.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/0.1319, allocations: 6.126 MB / 363.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.1325, allocations: 102.8 kB / 363.8 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.1325, allocations: 43.98 kB / 363.8 MB, free: 15.3 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003067/0.1328, allocations: 233.5 kB / 364 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.133, allocations: 51.44 kB / 364.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.1344, allocations: 0.8481 MB / 364.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1344, allocations: 8 kB / 364.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1344, allocations: 0 / 364.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1344, allocations: 11.92 kB / 364.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.137, allocations: 1.93 MB / 366.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1371, allocations: 8.031 kB / 366.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.1376, allocations: 135.8 kB / 367 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.1379, allocations: 103.4 kB / 367.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.138, allocations: 23.98 kB / 367.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.1416, allocations: 5.709 MB / 372.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1416, allocations: 3.938 kB / 372.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.1433, allocations: 1.273 MB / 374.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1434, allocations: 140.4 kB / 374.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.1435, allocations: 23.94 kB / 374.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.1439, allocations: 23.98 kB / 374.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.144, allocations: 64.58 kB / 374.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.144, allocations: 24 kB / 374.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.1443, allocations: 259.2 kB / 374.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1443, allocations: 0 / 374.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008898/0.1452, allocations: 259.3 kB / 374.9 MB, free: 3.379 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002784/0.1455, allocations: 151 kB / 375 MB, free: 3.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1472, allocations: 1.168 MB / 376.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1472, allocations: 1.438 kB / 376.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.148, allocations: 0.7997 MB / 377 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.1486, allocations: 65.3 kB / 377.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1299/0.2786, allocations: 1.392 MB / 378.5 MB, free: 52.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.279, allocations: 0.9156 MB / 379.4 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004919/0.2795, allocations: 107.3 kB / 379.5 MB, free: 51.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2796, allocations: 54.86 kB / 379.5 MB, free: 51.34 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2796, allocations: 0 / 379.5 MB, free: 51.34 MB / 318.1 MB Notification: Performance of Templates: time 0.0127/0.2923, allocations: 7.019 MB / 386.6 MB, free: 50.35 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches