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.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001379/0.001379, allocations: 212.8 kB / 23.73 MB, free: 4.164 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.459/1.459, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.001958/0.001958, allocations: 67.83 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2333, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004076/0.2374, allocations: 2.668 MB / 434.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2394, allocations: 1.129 MB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2395, allocations: 8 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.241, allocations: 0.5827 MB / 436 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.2413, allocations: 143 kB / 436.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2426, allocations: 0.6014 MB / 436.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.243, allocations: 310.5 kB / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.2434, allocations: 229.8 kB / 437.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2437, allocations: 147.4 kB / 437.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2439, allocations: 143.4 kB / 437.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2439, allocations: 24 kB / 437.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.2443, allocations: 179.8 kB / 437.8 MB, free: 376 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.2443, allocations: 63.7 kB / 437.8 MB, free: 312 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2444, allocations: 111.5 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.2451, allocations: 0.5057 MB / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2451, allocations: 0 / 438.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2451, allocations: 4 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2451, allocations: 0 / 438.5 MB, free: 15.69 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.001657/0.2468, allocations: 0.6522 MB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2468, allocations: 8.031 kB / 439.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.2476, allocations: 116.7 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.248, allocations: 221.7 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.248, allocations: 28.97 kB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.2481, allocations: 28.38 kB / 439.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.2486, allocations: 341 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2486, allocations: 0 / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.2487, allocations: 12 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2487, allocations: 8 kB / 439.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.2491, allocations: 242.5 kB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.251, allocations: 1.035 MB / 441.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.2515, allocations: 241.3 kB / 441.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2517, allocations: 95.81 kB / 441.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2518, allocations: 15.98 kB / 441.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2518, allocations: 42.48 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.2518, allocations: 0 / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001219/0.2531, allocations: 410.3 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2531, allocations: 59.39 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2533, allocations: 159.6 kB / 442.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.2533, allocations: 33.7 kB / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2534, allocations: 180.3 kB / 442.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.367e-05/0.2535, allocations: 87.31 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.2536, allocations: 57.94 kB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2537, allocations: 322.8 kB / 442.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2539, allocations: 68.53 kB / 442.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2541, allocations: 141.2 kB / 443 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2544, allocations: 224 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2544, allocations: 0 / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005942/0.255, allocations: 328.3 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.255, allocations: 8 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.255, allocations: 0 / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/0.2553, allocations: 72.81 kB / 443.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2555, allocations: 48.14 kB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.2576, allocations: 1.891 MB / 445.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.2577, allocations: 23.84 kB / 445.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.2578, allocations: 12 kB / 445.6 MB, free: 8.191 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.0001537/0.2579, allocations: 149.8 kB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.258, allocations: 15.91 kB / 445.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.2585, allocations: 295.3 kB / 446 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2586, allocations: 0 / 446 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.2586, allocations: 8 kB / 446 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2586, allocations: 0 / 446 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009391/0.2595, allocations: 0.573 MB / 446.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2595, allocations: 4 kB / 446.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2596, allocations: 23.98 kB / 446.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.2599, allocations: 76.69 kB / 446.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2599, allocations: 12 kB / 446.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.2619, allocations: 1.884 MB / 448.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2619, allocations: 0 / 448.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.2626, allocations: 449.3 kB / 449.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2627, allocations: 43.72 kB / 449.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.2627, allocations: 8 kB / 449.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2629, allocations: 4 kB / 449.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.2629, allocations: 15.97 kB / 449.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.2629, allocations: 8 kB / 449.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.263, allocations: 119.7 kB / 449.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.263, allocations: 0 / 449.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.2635, allocations: 95.78 kB / 449.3 MB, free: 4.254 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.0002125/0.2637, allocations: 127.2 kB / 449.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006187/0.2643, allocations: 346.5 kB / 449.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2643, allocations: 0 / 449.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.2647, allocations: 242.4 kB / 450 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.265, allocations: 19.98 kB / 450.1 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.266, allocations: 0.5563 MB / 450.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.2661, allocations: 154.4 kB / 450.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.2662, allocations: 17.95 kB / 450.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.2663, allocations: 15.72 kB / 450.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2663, allocations: 0 / 450.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Templates: time 0.007267/0.2735, allocations: 2.955 MB / 453.8 MB, free: 15.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.4172398913651705]