Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2474, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004372/0.2517, allocations: 2.864 MB / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2537, allocations: 1.164 MB / 424.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2538, allocations: 11.94 kB / 424.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.2553, allocations: 0.6185 MB / 425.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.2555, allocations: 135 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.2569, allocations: 0.6866 MB / 426.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.2573, allocations: 294.6 kB / 426.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.2577, allocations: 212.4 kB / 426.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.2579, allocations: 123.5 kB / 427 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.2581, allocations: 167.3 kB / 427.1 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.2581, allocations: 24 kB / 427.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.2584, allocations: 183.8 kB / 427.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.2585, allocations: 63.77 kB / 427.4 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2586, allocations: 155.2 kB / 427.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.2593, allocations: 497.9 kB / 428 MB, free: 7.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2593, allocations: 0 / 428 MB, free: 7.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2593, allocations: 0 / 428 MB, free: 7.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2593, allocations: 7.984 kB / 428 MB, free: 7.902 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001675/0.2609, allocations: 0.7325 MB / 428.8 MB, free: 7.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.261, allocations: 8.031 kB / 428.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.2618, allocations: 120.7 kB / 428.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.2622, allocations: 260.6 kB / 429.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2622, allocations: 21.03 kB / 429.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.2623, allocations: 36.38 kB / 429.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2629, allocations: 340.9 kB / 429.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2629, allocations: 3.953 kB / 429.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.2629, allocations: 16 kB / 429.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2629, allocations: 8 kB / 429.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.2634, allocations: 238.5 kB / 429.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2654, allocations: 1.44 MB / 431.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.2661, allocations: 0.677 MB / 431.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.2663, allocations: 95.69 kB / 432 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.2664, allocations: 89.05 kB / 432.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.2664, allocations: 34.56 kB / 432.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.2664, allocations: 3.938 kB / 432.1 MB, free: 3.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001256/0.2677, allocations: 490.9 kB / 432.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2677, allocations: 59.34 kB / 432.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.2679, allocations: 179.3 kB / 432.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2679, allocations: 29.7 kB / 432.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.268, allocations: 184.3 kB / 433.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.2681, allocations: 83.31 kB / 433.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.2682, allocations: 57.94 kB / 433.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2683, allocations: 322.8 kB / 433.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.2684, allocations: 72.53 kB / 433.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2686, allocations: 133 kB / 433.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.2689, allocations: 220.1 kB / 433.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2689, allocations: 0 / 433.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005667/0.2695, allocations: 324.5 kB / 434.3 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2695, allocations: 8.219 kB / 434.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2695, allocations: 7.984 kB / 434.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.2698, allocations: 72.81 kB / 434.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.27, allocations: 43.92 kB / 434.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.2722, allocations: 2.037 MB / 436.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2723, allocations: 27.91 kB / 436.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2724, allocations: 16 kB / 436.5 MB, free: 14.83 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.0001559/0.2725, allocations: 149.7 kB / 436.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2726, allocations: 19.84 kB / 436.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.2731, allocations: 280 kB / 436.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2732, allocations: 4 kB / 436.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2732, allocations: 0 / 436.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2732, allocations: 0 / 436.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.2741, allocations: 0.6854 MB / 437.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2742, allocations: 0 / 437.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.2743, allocations: 27.98 kB / 437.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/0.2745, allocations: 76.75 kB / 437.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.2745, allocations: 7.984 kB / 437.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.2765, allocations: 2.034 MB / 439.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2765, allocations: 4.062 kB / 439.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.2772, allocations: 436.6 kB / 440.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.2773, allocations: 113 kB / 440.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2773, allocations: 8 kB / 440.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2774, allocations: 4 kB / 440.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2774, allocations: 23.97 kB / 440.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2775, allocations: 12 kB / 440.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2776, allocations: 119.2 kB / 440.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2776, allocations: 0 / 440.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004734/0.278, allocations: 103.7 kB / 440.5 MB, free: 10.49 MB / 350.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.0002098/0.2782, allocations: 119.2 kB / 440.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006673/0.2789, allocations: 342.2 kB / 441 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2789, allocations: 0 / 441 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.2793, allocations: 249.5 kB / 441.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2796, allocations: 23.98 kB / 441.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2807, allocations: 0.5681 MB / 441.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2811, allocations: 0.756 MB / 442.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.2812, allocations: 21.95 kB / 442.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.2812, allocations: 15.44 kB / 442.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2812, allocations: 4 kB / 442.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of Templates: time 0.006905/0.2881, allocations: 2.795 MB / 445.4 MB, free: 5.535 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.279175592586398]