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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001902/0.001902, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002501/0.002501, allocations: 213.6 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] 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.002867/0.002867, allocations: 71.86 kB / 376.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3205, allocations: 53.31 MB / 430.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004729/0.3252, allocations: 2.868 MB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3273, allocations: 1.223 MB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.3274, allocations: 11.94 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.329, allocations: 0.6223 MB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.3294, allocations: 135.1 kB / 435.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3308, allocations: 0.6609 MB / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.3313, allocations: 294.6 kB / 436 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.3318, allocations: 212.4 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.3321, allocations: 135.4 kB / 436.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3324, allocations: 163.4 kB / 436.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.3324, allocations: 24 kB / 436.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.3328, allocations: 195.8 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.3329, allocations: 59.72 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.3331, allocations: 151.3 kB / 436.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.3338, allocations: 0.494 MB / 437.4 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3338, allocations: 0 / 437.4 MB, free: 396 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3338, allocations: 3.938 kB / 437.4 MB, free: 392 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3338, allocations: 0 / 437.4 MB, free: 392 kB / 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.001722/0.3355, allocations: 0.7365 MB / 438.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3356, allocations: 8.031 kB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.3364, allocations: 112.7 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3368, allocations: 268.5 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3368, allocations: 29.03 kB / 438.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.572e-05/0.3369, allocations: 36.36 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.3375, allocations: 333 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3375, allocations: 7.984 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3375, allocations: 8 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3375, allocations: 8 kB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3379, allocations: 246.5 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.3401, allocations: 1.436 MB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/0.3409, allocations: 0.6838 MB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3411, allocations: 92.81 kB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.3413, allocations: 178.1 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3413, allocations: 30.56 kB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.3413, allocations: 0 / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001275/0.3426, allocations: 0.4908 MB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3426, allocations: 51.41 kB / 442.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3428, allocations: 175.3 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3428, allocations: 33.7 kB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.343, allocations: 180.4 kB / 442.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.343, allocations: 95.16 kB / 442.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.3431, allocations: 49.98 kB / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3433, allocations: 326.8 kB / 443 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3434, allocations: 72.47 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3436, allocations: 129 kB / 443.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.344, allocations: 224.9 kB / 443.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.344, allocations: 0 / 443.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006205/0.3446, allocations: 331.7 kB / 443.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3446, allocations: 12.03 kB / 443.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3446, allocations: 0 / 443.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.345, allocations: 76.81 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3451, allocations: 43.91 kB / 443.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.3475, allocations: 2.026 MB / 445.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3476, allocations: 27.78 kB / 445.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3476, allocations: 8 kB / 445.9 MB, free: 7.211 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.0001649/0.3478, allocations: 149.7 kB / 446.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.3478, allocations: 23.8 kB / 446.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005999/0.3484, allocations: 280.2 kB / 446.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3484, allocations: 0 / 446.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3484, allocations: 4 kB / 446.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3485, allocations: 4 kB / 446.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3496, allocations: 0.6982 MB / 447.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3496, allocations: 0 / 447.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3497, allocations: 23.98 kB / 447.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.3499, allocations: 80.73 kB / 447.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.35, allocations: 0 / 447.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.3522, allocations: 2.022 MB / 449.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.3522, allocations: 4.312 kB / 449.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.353, allocations: 458.7 kB / 449.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3531, allocations: 105 kB / 449.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3531, allocations: 12.06 kB / 449.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3532, allocations: 8 kB / 449.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3533, allocations: 19.97 kB / 449.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3533, allocations: 4 kB / 449.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.3534, allocations: 131.2 kB / 449.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3534, allocations: 0 / 449.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000592/0.354, allocations: 103.7 kB / 450 MB, free: 2.844 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.0002757/0.3543, allocations: 127.2 kB / 450.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.355, allocations: 346.7 kB / 450.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.355, allocations: 4.062 kB / 450.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.3554, allocations: 238.5 kB / 450.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3557, allocations: 22.48 kB / 450.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.357, allocations: 0.5991 MB / 451.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.3575, allocations: 0.756 MB / 452.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3575, allocations: 19.44 kB / 452.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3575, allocations: 0 / 452.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of Templates: time 0.007362/0.3649, allocations: 4.122 MB / 456.2 MB, free: 12.53 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/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