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.001112/0.001112, allocations: 112.4 kB / 17.73 MB, free: 5.355 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.0009995/0.0009998, allocations: 179.1 kB / 18.66 MB, free: 4.438 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.44/1.44, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001181/0.001181, allocations: 55.91 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08612, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.1704/0.2566, allocations: 5.203 MB / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.259, allocations: 1.723 MB / 382.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2593, allocations: 15.94 kB / 382.1 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002609/0.2619, allocations: 1.412 MB / 383.5 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.2625, allocations: 325 kB / 383.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2639, allocations: 0.8038 MB / 384.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.2646, allocations: 0.8178 MB / 385.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.2656, allocations: 0.7541 MB / 386.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.2659, allocations: 351 kB / 386.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.2664, allocations: 474.1 kB / 387 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.2665, allocations: 74.16 kB / 387.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.267, allocations: 257.5 kB / 387.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2671, allocations: 175.7 kB / 387.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2674, allocations: 429.1 kB / 387.9 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.2686, allocations: 1.195 MB / 389.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2686, allocations: 1.188 kB / 389.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2686, allocations: 0 / 389.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2686, allocations: 0 / 389.1 MB, free: 6.973 MB / 318.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.003599/0.2722, allocations: 1.461 MB / 390.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2723, allocations: 9.656 kB / 390.6 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.2739, allocations: 256.7 kB / 390.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2741, allocations: 261.2 kB / 391.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.2742, allocations: 77.41 kB / 391.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.2743, allocations: 98.16 kB / 391.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2757, allocations: 0.9422 MB / 392.2 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.2758, allocations: 7.5 kB / 392.2 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.2758, allocations: 40.97 kB / 392.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.2759, allocations: 26.8 kB / 392.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2771, allocations: 0.7769 MB / 393.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004401/0.2815, allocations: 3.368 MB / 396.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2832, allocations: 1.255 MB / 397.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.2837, allocations: 368.5 kB / 398 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.2838, allocations: 104.8 kB / 398.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2838, allocations: 43.41 kB / 398.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.495e-06/0.2839, allocations: 0 / 398.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=87): time 0.002107/0.286, allocations: 1.302 MB / 399.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.286, allocations: 88.58 kB / 399.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.2864, allocations: 373.4 kB / 399.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.2865, allocations: 41.11 kB / 400 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2866, allocations: 391.8 kB / 400.4 MB, free: 268 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.2868, allocations: 317.8 kB / 400.7 MB, free: 8 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2871, allocations: 179.4 kB / 400.8 MB, free: 15.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2873, allocations: 362.5 kB / 401.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.2877, allocations: 271.9 kB / 401.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.2884, allocations: 466.1 kB / 401.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2895, allocations: 0.779 MB / 402.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2895, allocations: 2.25 kB / 402.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001659/0.2912, allocations: 0.976 MB / 403.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.2912, allocations: 6.656 kB / 403.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2913, allocations: 5.406 kB / 403.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.2918, allocations: 127.6 kB / 403.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.2928, allocations: 204.2 kB / 404 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/0.2974, allocations: 6.122 MB / 410.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.2981, allocations: 105.2 kB / 410.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.2982, allocations: 38.72 kB / 410.3 MB, free: 7.895 MB / 334.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.0003827/0.2986, allocations: 228.8 kB / 410.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2987, allocations: 58.5 kB / 410.6 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.3002, allocations: 0.8543 MB / 411.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3002, allocations: 12.8 kB / 411.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3002, allocations: 3.25 kB / 411.4 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.3002, allocations: 7.922 kB / 411.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.303, allocations: 1.932 MB / 413.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.303, allocations: 2.062 kB / 413.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.3036, allocations: 133.8 kB / 413.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3039, allocations: 109 kB / 413.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.3039, allocations: 18.72 kB / 413.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.3078, allocations: 5.715 MB / 419.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3078, allocations: 7.312 kB / 419.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.3096, allocations: 1.273 MB / 420.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.3098, allocations: 147.9 kB / 420.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.3098, allocations: 19.28 kB / 420.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.3102, allocations: 20.72 kB / 420.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/0.3103, allocations: 65.03 kB / 420.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.3104, allocations: 27.91 kB / 420.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.3107, allocations: 247.8 kB / 421.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3107, allocations: 4 kB / 421.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001016/0.3117, allocations: 266.6 kB / 421.4 MB, free: 14.46 MB / 350.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.0002774/0.312, allocations: 156.9 kB / 421.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3136, allocations: 1.181 MB / 422.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3136, allocations: 5.312 kB / 422.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.3145, allocations: 0.7909 MB / 423.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.315, allocations: 66.19 kB / 423.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3174, allocations: 1.415 MB / 425 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.3179, allocations: 0.911 MB / 425.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004372/0.3183, allocations: 105.1 kB / 426 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.3185, allocations: 59.42 kB / 426.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3185, allocations: 0 / 426.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Templates: time 0.01231/0.3308, allocations: 7.22 MB / 433.3 MB, free: 3.41 MB / 350.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 -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/jenkins/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/jenkins/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