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.001581/0.001581, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001894/0.001894, allocations: 200 kB / 18.01 MB, free: 5.055 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.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000898/0.000898, allocations: 47.94 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.229, allocations: 49.42 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006236/0.2353, allocations: 5.257 MB / 406 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.2383, allocations: 1.677 MB / 407.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.2386, allocations: 16 kB / 407.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.2417, allocations: 1.416 MB / 409.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007685/0.2425, allocations: 321.6 kB / 409.4 MB, free: 152 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.2441, allocations: 0.8129 MB / 410.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008288/0.2449, allocations: 0.8167 MB / 411 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.246, allocations: 0.7666 MB / 411.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.2464, allocations: 346.7 kB / 412.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.2468, allocations: 470.1 kB / 412.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.2469, allocations: 76 kB / 412.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005468/0.2475, allocations: 259.8 kB / 412.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2476, allocations: 179.3 kB / 413.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.248, allocations: 421.9 kB / 413.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.2491, allocations: 1.199 MB / 414.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2491, allocations: 0 / 414.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2492, allocations: 0 / 414.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.2492, allocations: 3.938 kB / 414.7 MB, free: 10.81 MB / 334.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.004008/0.2532, allocations: 1.443 MB / 416.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2532, allocations: 8.031 kB / 416.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.255, allocations: 251.7 kB / 416.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.2552, allocations: 255.3 kB / 416.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.2553, allocations: 74.38 kB / 416.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.2555, allocations: 100.4 kB / 416.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.257, allocations: 0.9424 MB / 417.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.2571, allocations: 7.844 kB / 417.8 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-05/0.2571, allocations: 40 kB / 417.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2572, allocations: 24 kB / 417.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.2585, allocations: 0.7776 MB / 418.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/0.2635, allocations: 3.361 MB / 422 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.2655, allocations: 1.257 MB / 423.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.2661, allocations: 370 kB / 423.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.2662, allocations: 102.1 kB / 423.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2662, allocations: 43.56 kB / 423.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.327e-06/0.2662, allocations: 0 / 423.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002288/0.2685, allocations: 1.304 MB / 425 MB, free: 15.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.2686, allocations: 90.11 kB / 425.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.2691, allocations: 360.3 kB / 425.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.2692, allocations: 45.64 kB / 425.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.2695, allocations: 386.9 kB / 425.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2697, allocations: 299.6 kB / 426.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.2699, allocations: 178.8 kB / 426.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2701, allocations: 362.8 kB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.2706, allocations: 262.5 kB / 427 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.2711, allocations: 479.4 kB / 427.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.2722, allocations: 0.7666 MB / 428.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2722, allocations: 3.984 kB / 428.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001646/0.2739, allocations: 0.973 MB / 429.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2739, allocations: 10.34 kB / 429.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.2739, allocations: 4 kB / 429.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.2743, allocations: 131.3 kB / 429.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/0.2751, allocations: 199.7 kB / 429.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/0.2792, allocations: 6.118 MB / 435.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.2798, allocations: 102.9 kB / 435.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.2799, allocations: 43.98 kB / 435.8 MB, free: 4.426 MB / 350.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.0003098/0.2802, allocations: 229.5 kB / 436 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2803, allocations: 55.53 kB / 436.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2818, allocations: 0.8559 MB / 436.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2818, allocations: 8 kB / 436.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2818, allocations: 4 kB / 436.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.2818, allocations: 7.922 kB / 437 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.2845, allocations: 1.93 MB / 438.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2846, allocations: 4 kB / 438.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.2852, allocations: 135.8 kB / 439 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.2855, allocations: 103.7 kB / 439.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.2855, allocations: 23.98 kB / 439.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.2891, allocations: 5.713 MB / 444.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.2891, allocations: 7.938 kB / 444.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.291, allocations: 1.269 MB / 446.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.2912, allocations: 144.3 kB / 446.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2913, allocations: 23.94 kB / 446.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.2917, allocations: 19.98 kB / 446.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2918, allocations: 64.52 kB / 446.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.2919, allocations: 24 kB / 446.4 MB, free: 9.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.2922, allocations: 259.2 kB / 446.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2922, allocations: 4.062 kB / 446.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.2931, allocations: 259.4 kB / 446.9 MB, free: 8.496 MB / 366.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.0002295/0.2933, allocations: 147.1 kB / 447.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.295, allocations: 1.176 MB / 448.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.295, allocations: 0 / 448.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.2959, allocations: 0.8011 MB / 449 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.2965, allocations: 62.67 kB / 449.1 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.2989, allocations: 1.387 MB / 450.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.2994, allocations: 0.9148 MB / 451.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004383/0.2998, allocations: 109.1 kB / 451.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3, allocations: 55.42 kB / 451.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3, allocations: 0 / 451.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of Templates: time 0.01378/0.3138, allocations: 7.247 MB / 458.8 MB, free: 12.44 MB / 382.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