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.0008565/0.0008567, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.001422/0.001422, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.291/1.291, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002285, allocations: 8 kB / 300.7 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08404, allocations: 50.42 MB / 351.2 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004304/0.08838, allocations: 4.155 MB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.09069, allocations: 1.55 MB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.09092, allocations: 20 kB / 356.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.09136, allocations: 190.9 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.09192, allocations: 299.2 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.09314, allocations: 0.6614 MB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.09381, allocations: 0.5578 MB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.09601, allocations: 1.32 MB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.09635, allocations: 290.8 kB / 360.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.09675, allocations: 362.5 kB / 360.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.09681, allocations: 39.94 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.09723, allocations: 195.8 kB / 360.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.09734, allocations: 127.4 kB / 360.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.09749, allocations: 169.3 kB / 361.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.0983, allocations: 0.8961 MB / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.09831, allocations: 0 / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09832, allocations: 4 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.09834, allocations: 0 / 362 MB, free: 8.898 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.003548/0.1019, allocations: 1.295 MB / 363.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1019, allocations: 8.031 kB / 363.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.1036, allocations: 250.8 kB / 363.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1038, allocations: 250 kB / 363.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.1039, allocations: 74 kB / 363.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.104, allocations: 107.8 kB / 363.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1054, allocations: 0.9304 MB / 364.9 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.1055, allocations: 4 kB / 364.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.1055, allocations: 40 kB / 364.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1056, allocations: 24 kB / 364.9 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.1068, allocations: 0.7692 MB / 365.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.1117, allocations: 3.4 MB / 369.1 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.1135, allocations: 1.249 MB / 370.3 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1136, allocations: 102.1 kB / 370.4 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1493/0.263, allocations: 38.12 kB / 370.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 5.471e-06/0.263, allocations: 0.8125 kB / 370.5 MB, free: 23.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002373/0.2654, allocations: 1.289 MB / 371.8 MB, free: 23.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.2654, allocations: 90.69 kB / 371.9 MB, free: 23.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2659, allocations: 363.6 kB / 372.2 MB, free: 23.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.2659, allocations: 46.97 kB / 372.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.2661, allocations: 375.2 kB / 372.6 MB, free: 22.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.2663, allocations: 303.5 kB / 372.9 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.2663, allocations: 17.56 kB / 372.9 MB, free: 22.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.2664, allocations: 361.6 kB / 373.3 MB, free: 22.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.267, allocations: 265 kB / 373.6 MB, free: 22.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.2675, allocations: 468.2 kB / 374 MB, free: 22.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/0.268, allocations: 338.1 kB / 374.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2681, allocations: 1.469 kB / 374.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001505/0.2696, allocations: 0.9699 MB / 375.3 MB, free: 21.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2696, allocations: 6.844 kB / 375.3 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2696, allocations: 5.844 kB / 375.3 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.27, allocations: 127.6 kB / 375.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.2708, allocations: 200.8 kB / 375.6 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.2737, allocations: 5.594 MB / 381.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.2743, allocations: 104.2 kB / 381.3 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.2743, allocations: 39.58 kB / 381.4 MB, free: 16.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002836/0.2746, allocations: 232.4 kB / 381.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2747, allocations: 53.47 kB / 381.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.2761, allocations: 0.8418 MB / 382.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.2761, allocations: 11.28 kB / 382.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2761, allocations: 3.344 kB / 382.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2762, allocations: 4.547 kB / 382.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.2791, allocations: 1.938 MB / 384.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.2792, allocations: 3.344 kB / 384.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.2797, allocations: 132.8 kB / 384.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.28, allocations: 114.1 kB / 384.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.2801, allocations: 21.11 kB / 384.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.2827, allocations: 5.326 MB / 390 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.2827, allocations: 7.531 kB / 390.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.2845, allocations: 1.382 MB / 391.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.2846, allocations: 141 kB / 391.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.2847, allocations: 18.53 kB / 391.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.2851, allocations: 21.78 kB / 391.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2852, allocations: 72.98 kB / 391.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.2852, allocations: 26.84 kB / 391.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.2855, allocations: 253.7 kB / 392 MB, free: 7.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2855, allocations: 0 / 392 MB, free: 7.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001089/0.2866, allocations: 262.9 kB / 392.2 MB, free: 7.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.2869, allocations: 160 kB / 392.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.2885, allocations: 1.162 MB / 393.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2885, allocations: 1.094 kB / 393.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.2893, allocations: 0.7896 MB / 394.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.2898, allocations: 46.5 kB / 394.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.2924, allocations: 1.709 MB / 396.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.2928, allocations: 0.9301 MB / 397 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005395/0.2934, allocations: 110.6 kB / 397.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.2935, allocations: 51.48 kB / 397.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2935, allocations: 0 / 397.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of Templates: time 0.01197/0.3055, allocations: 6.604 MB / 403.8 MB, free: 1.973 MB / 302.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","../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