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.0009819/0.0009819, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009622/0.0009622, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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.017/1.017, allocations: 173.4 MB / 201.2 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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 1.402e-06/1.402e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.535e-05, allocations: 2.312 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002838/0.002854, allocations: 2.86 MB / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.00415, allocations: 1.133 MB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004257, allocations: 8 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009717/0.005229, allocations: 0.6494 MB / 272.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.005489, allocations: 138.9 kB / 272.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/0.006261, allocations: 0.6497 MB / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003198/0.006581, allocations: 310.4 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.006899, allocations: 235.1 kB / 274 MB, free: 464 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.007072, allocations: 195.6 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.007212, allocations: 127.7 kB / 274.3 MB, free: 140 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.007243, allocations: 24 kB / 274.3 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.007486, allocations: 167.8 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.007522, allocations: 67.67 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.007592, allocations: 99.75 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.007974, allocations: 382.7 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.007976, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007977, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.007981, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 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.001078/0.009059, allocations: 0.7572 MB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.009098, allocations: 16.92 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.00958, allocations: 168.5 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.009791, allocations: 200.2 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.009811, allocations: 25.03 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.009846, allocations: 32.38 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.01016, allocations: 271.2 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01017, allocations: 4.188 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.0102, allocations: 19.94 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01021, allocations: 8 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.01041, allocations: 135.8 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.01152, allocations: 1.124 MB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.01181, allocations: 229 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.01189, allocations: 71.59 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.01195, allocations: 12 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01197, allocations: 41.38 kB / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.01197, allocations: 0 / 278.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006783/0.01265, allocations: 351.6 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.01268, allocations: 55.34 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.0128, allocations: 217.8 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.01282, allocations: 33.7 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.01289, allocations: 231.1 kB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.01294, allocations: 91.22 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.013, allocations: 59.64 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.0131, allocations: 0.4962 MB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.01316, allocations: 40.55 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01326, allocations: 130.8 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.01343, allocations: 182.8 kB / 279.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01343, allocations: 0 / 279.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003116/0.01374, allocations: 275.2 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01376, allocations: 10.66 kB / 280.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01377, allocations: 8.156 kB / 280.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.01401, allocations: 79.56 kB / 280.3 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.01409, allocations: 39.92 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.01535, allocations: 2.325 MB / 282.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.01541, allocations: 31.72 kB / 282.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.01542, allocations: 8 kB / 282.7 MB, free: 7.25 MB / 266.7 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 8.544e-05/0.01551, allocations: 168.5 kB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.01554, allocations: 27.94 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.01582, allocations: 237.2 kB / 283.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01582, allocations: 4 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01582, allocations: 0 / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01583, allocations: 7.922 kB / 283.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.01634, allocations: 0.5867 MB / 283.7 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01634, allocations: 4 kB / 283.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.877e-05/0.0164, allocations: 23.98 kB / 283.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.01655, allocations: 87.72 kB / 283.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01657, allocations: 4 kB / 283.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.01767, allocations: 2.325 MB / 286.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01767, allocations: 3.938 kB / 286.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01801, allocations: 414.4 kB / 286.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.01805, allocations: 27.89 kB / 286.6 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.01806, allocations: 4 kB / 286.6 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.01812, allocations: 11.94 kB / 286.6 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.0182, allocations: 19.95 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.01822, allocations: 8 kB / 286.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01834, allocations: 159 kB / 286.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 0 / 286.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.01862, allocations: 95.72 kB / 286.9 MB, free: 2.848 MB / 266.7 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.0001511/0.01877, allocations: 123.2 kB / 287 MB, free: 2.719 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.01918, allocations: 367.8 kB / 287.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01919, allocations: 0 / 287.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01937, allocations: 292.3 kB / 287.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01957, allocations: 16 kB / 287.7 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.02042, allocations: 0.5186 MB / 288.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.02048, allocations: 88.31 kB / 288.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.02054, allocations: 21.94 kB / 288.3 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.02057, allocations: 16.5 kB / 288.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02057, allocations: 0 / 288.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of Templates: time 0.09816/0.1187, allocations: 2.834 MB / 291.2 MB, free: 26.78 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7737981588579714]