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.0009366/0.0009366, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009584/0.0009584, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 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 0.8523/0.8523, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.283e-06/1.283e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.787e-05, allocations: 5.266 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002729/0.002747, allocations: 2.798 MB / 272 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003949, allocations: 1.124 MB / 273.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004063, allocations: 4 kB / 273.1 MB, free: 5.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.004873, allocations: 0.6214 MB / 273.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.005082, allocations: 145.7 kB / 273.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.005771, allocations: 0.6392 MB / 274.5 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.006054, allocations: 310.4 kB / 274.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.006332, allocations: 239.1 kB / 275.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.006502, allocations: 191.5 kB / 275.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.006637, allocations: 127.7 kB / 275.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.006665, allocations: 24 kB / 275.4 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.006885, allocations: 171.7 kB / 275.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.006921, allocations: 67.69 kB / 275.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.006987, allocations: 99.77 kB / 275.7 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.007336, allocations: 374.8 kB / 276.1 MB, free: 2.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007337, allocations: 4 kB / 276.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.007338, allocations: 0 / 276.1 MB, free: 2.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.007343, allocations: 0 / 276.1 MB, free: 2.867 MB / 250.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.0009029/0.008246, allocations: 0.7649 MB / 276.9 MB, free: 2.062 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.008272, allocations: 8.031 kB / 276.9 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.008724, allocations: 172.6 kB / 277 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.008905, allocations: 208.1 kB / 277.2 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.008922, allocations: 25.03 kB / 277.3 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.00896, allocations: 32.38 kB / 277.3 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.009188, allocations: 247.2 kB / 277.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.009202, allocations: 4.188 kB / 277.5 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.00922, allocations: 11.94 kB / 277.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.009226, allocations: 12 kB / 277.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.009349, allocations: 108.5 kB / 277.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009963/0.01035, allocations: 1.077 MB / 278.8 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.01061, allocations: 219.9 kB / 279 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.01066, allocations: 59.64 kB / 279 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.0107, allocations: 8 kB / 279 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.01072, allocations: 45.33 kB / 279.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.01073, allocations: 0 / 279.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005434/0.01127, allocations: 328.2 kB / 279.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.01129, allocations: 59.34 kB / 279.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.0114, allocations: 209.8 kB / 279.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.01141, allocations: 29.7 kB / 279.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.01149, allocations: 231 kB / 279.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.01154, allocations: 99.19 kB / 280 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.01159, allocations: 59.62 kB / 280.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.0117, allocations: 0.4962 MB / 280.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.01173, allocations: 40.47 kB / 280.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.01181, allocations: 122.8 kB / 280.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.01193, allocations: 164.6 kB / 280.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01194, allocations: 0 / 280.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002596/0.01219, allocations: 259.2 kB / 281.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01221, allocations: 4 kB / 281.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01221, allocations: 7.938 kB / 281.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.0124, allocations: 75.8 kB / 281.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.01248, allocations: 43.91 kB / 281.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.01361, allocations: 2.275 MB / 283.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.01368, allocations: 23.78 kB / 283.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01369, allocations: 11.98 kB / 283.6 MB, free: 10.96 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.383e-05/0.01377, allocations: 172.5 kB / 283.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.0138, allocations: 23.91 kB / 283.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.01404, allocations: 221.3 kB / 284 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01404, allocations: 4 kB / 284 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01405, allocations: 0 / 284 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01405, allocations: 3.984 kB / 284 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.0145, allocations: 0.5365 MB / 284.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0145, allocations: 0 / 284.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.01456, allocations: 23.98 kB / 284.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.0147, allocations: 83.77 kB / 284.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.01471, allocations: 4 kB / 284.6 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.01574, allocations: 2.276 MB / 286.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01574, allocations: 0 / 286.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.01603, allocations: 392.9 kB / 287.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.01606, allocations: 27.89 kB / 287.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.01608, allocations: 7.984 kB / 287.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.01613, allocations: 8 kB / 287.3 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.01615, allocations: 11.97 kB / 287.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.01616, allocations: 8 kB / 287.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.01622, allocations: 153.8 kB / 287.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01622, allocations: 0 / 287.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.0165, allocations: 103.7 kB / 287.6 MB, free: 6.734 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.0001283/0.01663, allocations: 119.3 kB / 287.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.01695, allocations: 359.2 kB / 288.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01695, allocations: 0 / 288.1 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.01712, allocations: 281.2 kB / 288.4 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01732, allocations: 30.67 kB / 288.4 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.01805, allocations: 0.5166 MB / 288.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.01809, allocations: 88.31 kB / 289 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.878e-05/0.01815, allocations: 21.94 kB / 289 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.696e-05/0.01822, allocations: 86.2 kB / 289.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01822, allocations: 0 / 289.1 MB, free: 5.148 MB / 266.7 MB Notification: Performance of Templates: time 0.004582/0.0228, allocations: 2.933 MB / 292 MB, free: 2.25 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.782617042772472]