Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.0941, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004215/0.09832, allocations: 2.86 MB / 430.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1003, allocations: 1.234 MB / 431.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1005, allocations: 11.94 kB / 431.9 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1838/0.2842, allocations: 0.6012 MB / 432.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.2848, allocations: 145.2 kB / 432.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2861, allocations: 0.6563 MB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.2865, allocations: 294.6 kB / 433.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.2869, allocations: 205.8 kB / 433.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.2871, allocations: 138.7 kB / 434 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2873, allocations: 169.1 kB / 434.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.2873, allocations: 24.56 kB / 434.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.2876, allocations: 188.4 kB / 434.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.2877, allocations: 57.16 kB / 434.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2878, allocations: 158.7 kB / 434.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.2883, allocations: 0.4954 MB / 435 MB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2883, allocations: 1.375 kB / 435 MB, free: 7.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2883, allocations: 0 / 435 MB, free: 7.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2883, allocations: 0 / 435 MB, free: 7.887 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001445/0.2897, allocations: 0.7305 MB / 435.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2898, allocations: 10.75 kB / 435.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008198/0.2906, allocations: 116.4 kB / 435.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2909, allocations: 265.1 kB / 436.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2909, allocations: 24.44 kB / 436.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.291, allocations: 39.72 kB / 436.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004737/0.2914, allocations: 334.2 kB / 436.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2915, allocations: 1.062 kB / 436.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2915, allocations: 15.19 kB / 436.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.2915, allocations: 10.84 kB / 436.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.2919, allocations: 242.4 kB / 436.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.2936, allocations: 1.443 MB / 438.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.2941, allocations: 0.6823 MB / 438.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.2942, allocations: 88.89 kB / 439 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.2944, allocations: 176.3 kB / 439.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2944, allocations: 35.69 kB / 439.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.2944, allocations: 0 / 439.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001191/0.2956, allocations: 495.4 kB / 439.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.2956, allocations: 58.45 kB / 439.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2957, allocations: 170.2 kB / 439.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.2957, allocations: 31.17 kB / 440 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.2958, allocations: 184.4 kB / 440.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.2959, allocations: 88.36 kB / 440.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.2959, allocations: 50.67 kB / 440.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.296, allocations: 328.1 kB / 440.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2961, allocations: 70.09 kB / 440.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.2962, allocations: 133.8 kB / 440.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2965, allocations: 221.4 kB / 441 MB, free: 4.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2965, allocations: 5.281 kB / 441 MB, free: 4.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005409/0.297, allocations: 327.5 kB / 441.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2971, allocations: 5.438 kB / 441.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2971, allocations: 2.625 kB / 441.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.2974, allocations: 81.44 kB / 441.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2975, allocations: 44.5 kB / 441.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.2992, allocations: 2.026 MB / 443.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2993, allocations: 27.62 kB / 443.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2993, allocations: 12.25 kB / 443.5 MB, free: 2.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.2995, allocations: 149 kB / 443.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.2995, allocations: 21.17 kB / 443.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.3, allocations: 278.8 kB / 444 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3, allocations: 6.875 kB / 444 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3, allocations: 1.688 kB / 444 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3, allocations: 1.594 kB / 444 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008912/0.3009, allocations: 0.6944 MB / 444.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3009, allocations: 1.406 kB / 444.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.3011, allocations: 28.2 kB / 444.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.3013, allocations: 69.72 kB / 444.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3013, allocations: 9.703 kB / 444.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.3031, allocations: 2.023 MB / 446.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3031, allocations: 4.656 kB / 446.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.3038, allocations: 454.2 kB / 447.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3039, allocations: 111.3 kB / 447.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.304, allocations: 5.703 kB / 447.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.3041, allocations: 6.188 kB / 447.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3041, allocations: 23.12 kB / 447.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3041, allocations: 6.391 kB / 447.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3043, allocations: 124.8 kB / 447.5 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3043, allocations: 0 / 447.5 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.3048, allocations: 103.9 kB / 447.6 MB, free: 14.97 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002317/0.305, allocations: 128.9 kB / 447.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.3057, allocations: 342.5 kB / 448.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3057, allocations: 4 kB / 448.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.3061, allocations: 242.8 kB / 448.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3064, allocations: 25.36 kB / 448.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3075, allocations: 0.5986 MB / 449 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3079, allocations: 0.7552 MB / 449.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.3079, allocations: 20.62 kB / 449.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3079, allocations: 0 / 449.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of Templates: time 0.007046/0.315, allocations: 4.128 MB / 453.9 MB, free: 12.97 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.374786902917549]