Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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) 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_4.0.0_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_4.0.0_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.001355/0.001355, allocations: 114.9 kB / 16.63 MB, free: 6.816 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.001096/0.001096, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009683/0.0009683, allocations: 45.7 kB / 300.1 MB, free: 5.949 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.09379, allocations: 49.44 MB / 349.6 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006111/0.09995, allocations: 5.222 MB / 354.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.1026, allocations: 1.658 MB / 356.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1028, allocations: 16 kB / 356.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.1057, allocations: 1.332 MB / 357.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.1064, allocations: 278.3 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1078, allocations: 0.7548 MB / 358.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.1087, allocations: 0.8053 MB / 359.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1099, allocations: 0.886 MB / 360.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.1103, allocations: 354.7 kB / 360.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.1107, allocations: 466.2 kB / 361.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.01e-05/0.1108, allocations: 76 kB / 361.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1114, allocations: 259.8 kB / 361.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.1115, allocations: 183.2 kB / 361.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.1118, allocations: 421.9 kB / 362.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.113, allocations: 1.187 MB / 363.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.113, allocations: 0 / 363.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1131, allocations: 11.94 kB / 363.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1131, allocations: 0 / 363.5 MB, free: 6.562 MB / 302.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.003789/0.1169, allocations: 1.436 MB / 364.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1169, allocations: 12.03 kB / 364.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.1185, allocations: 255.7 kB / 365.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1188, allocations: 263.2 kB / 365.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/0.1188, allocations: 66.38 kB / 365.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.119, allocations: 104.3 kB / 365.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1205, allocations: 0.9386 MB / 366.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.1205, allocations: 4 kB / 366.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.1206, allocations: 40 kB / 366.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.1207, allocations: 24 kB / 366.6 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1219, allocations: 0.7808 MB / 367.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1524/0.2743, allocations: 3.374 MB / 370.7 MB, free: 23.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2761, allocations: 1.252 MB / 372 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.2766, allocations: 373.5 kB / 372.3 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.2767, allocations: 100.2 kB / 372.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2767, allocations: 45.75 kB / 372.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.415e-06/0.2767, allocations: 0 / 372.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001935/0.2787, allocations: 1.305 MB / 373.8 MB, free: 22.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2787, allocations: 91.05 kB / 373.9 MB, free: 22.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.2791, allocations: 370.8 kB / 374.2 MB, free: 22.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2791, allocations: 39.67 kB / 374.3 MB, free: 22.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2793, allocations: 385.6 kB / 374.7 MB, free: 21.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2794, allocations: 291.6 kB / 374.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2796, allocations: 178.7 kB / 375.1 MB, free: 21.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.2797, allocations: 358.1 kB / 375.5 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.2801, allocations: 267 kB / 375.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.2806, allocations: 473.7 kB / 376.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/0.2815, allocations: 0.7711 MB / 377 MB, free: 20.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2815, allocations: 1.344 kB / 377 MB, free: 20.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001361/0.2829, allocations: 0.9769 MB / 377.9 MB, free: 19.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2829, allocations: 10.91 kB / 378 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2829, allocations: 6.359 kB / 378 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.2833, allocations: 125.4 kB / 378.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.284, allocations: 202.8 kB / 378.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/0.2867, allocations: 6.119 MB / 384.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.2873, allocations: 108.6 kB / 384.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/0.2873, allocations: 40.2 kB / 384.5 MB, free: 13.52 MB / 302.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.0002605/0.2876, allocations: 228.9 kB / 384.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2877, allocations: 63.61 kB / 384.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2889, allocations: 0.8507 MB / 385.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.289, allocations: 8.594 kB / 385.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.289, allocations: 3.281 kB / 385.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.289, allocations: 5.109 kB / 385.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.2914, allocations: 1.93 MB / 387.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.2914, allocations: 2.344 kB / 387.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.292, allocations: 136.6 kB / 387.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.2923, allocations: 110.8 kB / 387.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.2923, allocations: 21.06 kB / 387.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.2947, allocations: 5.719 MB / 393.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2947, allocations: 3.156 kB / 393.6 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2962, allocations: 1.272 MB / 394.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2963, allocations: 142.9 kB / 395 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.2964, allocations: 19.64 kB / 395 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.2968, allocations: 18.11 kB / 395.1 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.2969, allocations: 74.17 kB / 395.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.297, allocations: 27.83 kB / 395.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.2972, allocations: 255.5 kB / 395.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2972, allocations: 0 / 395.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009315/0.2982, allocations: 262.5 kB / 395.7 MB, free: 4.684 MB / 302.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.0002291/0.2984, allocations: 153.3 kB / 395.8 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.3002, allocations: 1.206 MB / 397 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3002, allocations: 1.812 kB / 397 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.3009, allocations: 0.7925 MB / 397.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.3015, allocations: 62.3 kB / 397.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3037, allocations: 1.764 MB / 399.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.304, allocations: 0.9129 MB / 400.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005229/0.3046, allocations: 106.5 kB / 400.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3047, allocations: 53.02 kB / 400.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3047, allocations: 0 / 400.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of Templates: time 0.01141/0.3162, allocations: 7.189 MB / 407.9 MB, free: 14 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches