Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 162 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.334e-05, allocations: 2.312 kB / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004397/0.00442, allocations: 2.697 MB / 253.1 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.00658, allocations: 1.153 MB / 254.2 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.006706, allocations: 8 kB / 254.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.008413, allocations: 0.6454 MB / 254.9 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.00876, allocations: 139 kB / 255 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.01019, allocations: 0.6225 MB / 255.6 MB, free: 2.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006677/0.01085, allocations: 306.4 kB / 255.9 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.01133, allocations: 239.1 kB / 256.2 MB, free: 2.004 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.01161, allocations: 187.6 kB / 256.3 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.01184, allocations: 127.7 kB / 256.5 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.01189, allocations: 28 kB / 256.5 MB, free: 1.668 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.01226, allocations: 167.7 kB / 256.7 MB, free: 1.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.01233, allocations: 59.75 kB / 256.7 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.01246, allocations: 103.8 kB / 256.8 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.01321, allocations: 0.51 MB / 257.3 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01321, allocations: 0 / 257.3 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01321, allocations: 0 / 257.3 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.01322, allocations: 0 / 257.3 MB, free: 0.8281 MB / 234.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.001773/0.01499, allocations: 0.7803 MB / 258.1 MB, free: 12 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.01502, allocations: 8.031 kB / 258.1 MB, free: 4 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.01598, allocations: 176.5 kB / 258.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01634, allocations: 212.8 kB / 258.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.01637, allocations: 25.03 kB / 258.5 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.188e-05/0.01643, allocations: 32.38 kB / 258.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.01706, allocations: 347.3 kB / 258.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.01708, allocations: 8.078 kB / 258.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.01712, allocations: 15.94 kB / 258.9 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.01714, allocations: 8 kB / 258.9 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.0176, allocations: 230.5 kB / 259.2 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.01985, allocations: 1.245 MB / 260.4 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.02044, allocations: 254.9 kB / 260.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.02062, allocations: 99.66 kB / 260.7 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.956e-05/0.0207, allocations: 15.98 kB / 260.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.02074, allocations: 33.39 kB / 260.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.02074, allocations: 0 / 260.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.001349/0.02209, allocations: 433.1 kB / 261.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.02214, allocations: 55.41 kB / 261.3 MB, free: 12.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.02238, allocations: 246.5 kB / 261.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.02241, allocations: 25.7 kB / 261.5 MB, free: 12.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.02258, allocations: 227.1 kB / 261.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.02268, allocations: 95.22 kB / 261.8 MB, free: 12.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.02279, allocations: 63.64 kB / 261.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.02308, allocations: 0.504 MB / 262.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.02321, allocations: 64.53 kB / 262.5 MB, free: 11.44 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.02343, allocations: 158.8 kB / 262.6 MB, free: 11.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.0238, allocations: 246.8 kB / 262.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0238, allocations: 0 / 262.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008954/0.0247, allocations: 343.3 kB / 263.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.02471, allocations: 4 kB / 263.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.02472, allocations: 11.88 kB / 263.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/0.02514, allocations: 99.61 kB / 263.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.02531, allocations: 39.92 kB / 263.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.02807, allocations: 2.505 MB / 265.9 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.02822, allocations: 31.75 kB / 265.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.02824, allocations: 12 kB / 265.9 MB, free: 7.812 MB / 250.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 0.0002006/0.02844, allocations: 192.5 kB / 266.1 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.0285, allocations: 27.89 kB / 266.1 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006407/0.02914, allocations: 282.3 kB / 266.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.02915, allocations: 4 kB / 266.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.02915, allocations: 4 kB / 266.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.02916, allocations: 3.938 kB / 266.4 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.03035, allocations: 0.6844 MB / 267.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03036, allocations: 0 / 267.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.03048, allocations: 27.94 kB / 267.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.03081, allocations: 95.78 kB / 267.2 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.03083, allocations: 0 / 267.2 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.03349, allocations: 2.517 MB / 269.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.03349, allocations: 7.875 kB / 269.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.03449, allocations: 496.9 kB / 270.2 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.03458, allocations: 43.8 kB / 270.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.03461, allocations: 4 kB / 270.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.03473, allocations: 7.938 kB / 270.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.03478, allocations: 24.03 kB / 270.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.03481, allocations: 4 kB / 270.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001504/0.03496, allocations: 171 kB / 270.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03496, allocations: 0 / 270.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004963/0.03545, allocations: 91.78 kB / 270.6 MB, free: 2.926 MB / 250.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.0002399/0.03569, allocations: 127.1 kB / 270.7 MB, free: 2.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.03645, allocations: 422.4 kB / 271.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.03645, allocations: 0 / 271.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.03689, allocations: 309.3 kB / 271.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.03719, allocations: 32.33 kB / 271.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.03826, allocations: 0.5284 MB / 272 MB, free: 1.445 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.03842, allocations: 142.2 kB / 272.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.112e-05/0.03851, allocations: 25.62 kB / 272.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.03856, allocations: 20.48 kB / 272.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.03856, allocations: 0 / 272.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of Templates: time 0.007539/0.0461, allocations: 2.548 MB / 274.7 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.334968548035249]