Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002333/0.002333, allocations: 218.8 kB / 24.48 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 55.92 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2602, allocations: 49.16 MB / 396.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00335/0.2635, allocations: 2.518 MB / 399.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2652, allocations: 1.124 MB / 400.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.2653, allocations: 8.281 kB / 400.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.2668, allocations: 0.5723 MB / 401.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2671, allocations: 127.6 kB / 401.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2682, allocations: 0.6216 MB / 401.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.2686, allocations: 290.2 kB / 402.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.269, allocations: 242.7 kB / 402.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.2692, allocations: 130.9 kB / 402.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2694, allocations: 148.3 kB / 402.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.2694, allocations: 24.16 kB / 402.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.2698, allocations: 174.6 kB / 402.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.17e-05/0.2698, allocations: 60.03 kB / 402.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.2699, allocations: 121.2 kB / 403 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.2704, allocations: 0.4915 MB / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2704, allocations: 0 / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2704, allocations: 1.156 kB / 403.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2704, allocations: 0 / 403.5 MB, free: 5.434 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001499/0.2719, allocations: 0.6585 MB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.272, allocations: 13.59 kB / 404.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.2728, allocations: 114.8 kB / 404.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.2732, allocations: 209.4 kB / 404.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2732, allocations: 26.88 kB / 404.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.2733, allocations: 30.3 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.2738, allocations: 343.9 kB / 404.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.2738, allocations: 1.344 kB / 404.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2738, allocations: 11.33 kB / 404.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2739, allocations: 8.531 kB / 404.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.2742, allocations: 239 kB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.2758, allocations: 1.031 MB / 406.1 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.2763, allocations: 226.6 kB / 406.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2765, allocations: 93.09 kB / 406.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.2765, allocations: 8.938 kB / 406.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2765, allocations: 43.81 kB / 406.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.2765, allocations: 0 / 406.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001163/0.2777, allocations: 412.8 kB / 406.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2777, allocations: 54.95 kB / 407 MB, free: 3.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2779, allocations: 163 kB / 407.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2779, allocations: 31.44 kB / 407.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2779, allocations: 179.8 kB / 407.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.278, allocations: 87.89 kB / 407.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.2781, allocations: 55.08 kB / 407.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2781, allocations: 326.7 kB / 407.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2782, allocations: 70.5 kB / 407.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2784, allocations: 132.2 kB / 408 MB, free: 2.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.2786, allocations: 223.6 kB / 408.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2786, allocations: 0 / 408.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005032/0.2791, allocations: 328.9 kB / 408.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2791, allocations: 6.156 kB / 408.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2791, allocations: 2.75 kB / 408.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.2794, allocations: 74.41 kB / 408.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2796, allocations: 46.56 kB / 408.7 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2812, allocations: 1.898 MB / 410.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2813, allocations: 26.66 kB / 410.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.2813, allocations: 8.547 kB / 410.6 MB, free: 444 kB / 318.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.0001383/0.2815, allocations: 147.9 kB / 410.7 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.2815, allocations: 21 kB / 410.7 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.2821, allocations: 278.2 kB / 411 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2821, allocations: 3.172 kB / 411 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2821, allocations: 2.031 kB / 411 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2821, allocations: 2.469 kB / 411 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2831, allocations: 0.5944 MB / 411.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2831, allocations: 0.75 kB / 411.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2832, allocations: 22.91 kB / 411.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.2835, allocations: 68.88 kB / 411.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2835, allocations: 5.703 kB / 411.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.2857, allocations: 1.891 MB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2857, allocations: 3.938 kB / 413.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007173/0.2865, allocations: 442.3 kB / 414 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.2865, allocations: 33.03 kB / 414.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2866, allocations: 10.19 kB / 414.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2867, allocations: 6.656 kB / 414.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.2867, allocations: 19.91 kB / 414.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2868, allocations: 9.438 kB / 414.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2869, allocations: 119.5 kB / 414.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2869, allocations: 0 / 414.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.2874, allocations: 103 kB / 414.3 MB, free: 13.61 MB / 334.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.0002146/0.2876, allocations: 121.8 kB / 414.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.2884, allocations: 340.8 kB / 414.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2884, allocations: 0.9688 kB / 414.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.2887, allocations: 234.5 kB / 415 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2891, allocations: 13.72 kB / 415 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2902, allocations: 0.5667 MB / 415.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2904, allocations: 149.5 kB / 415.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.357e-05/0.2905, allocations: 18.42 kB / 415.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.2905, allocations: 19.17 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2905, allocations: 5.219 kB / 415.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of Templates: time 0.007096/0.2976, allocations: 2.775 MB / 418.6 MB, free: 11.12 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.6753006018698215]