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.001501/0.001501, allocations: 85.95 kB / 23 MB, free: 1.5 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.001661/0.001661, allocations: 176.2 kB / 26.39 MB, free: 7.992 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 0.9393/0.9393, allocations: 158.6 MB / 188.3 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.332e-06/1.332e-06, allocations: 0 / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.421e-05, allocations: 6.25 kB / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002888/0.002902, allocations: 2.678 MB / 254.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004122, allocations: 1.157 MB / 256.1 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.00423, allocations: 4 kB / 256.1 MB, free: 3.379 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.005051, allocations: 0.6338 MB / 256.7 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.005252, allocations: 138.9 kB / 256.9 MB, free: 2.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.005922, allocations: 0.6069 MB / 257.5 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.00619, allocations: 306.4 kB / 257.8 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.006475, allocations: 235.1 kB / 258 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.006684, allocations: 187.6 kB / 258.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.006866, allocations: 131.7 kB / 258.3 MB, free: 1.145 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.0069, allocations: 24 kB / 258.3 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.007127, allocations: 171.7 kB / 258.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.007166, allocations: 67.75 kB / 258.6 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.007236, allocations: 99.75 kB / 258.7 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.00759, allocations: 366.8 kB / 259 MB, free: 440 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.007592, allocations: 0 / 259 MB, free: 440 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007593, allocations: 3.938 kB / 259 MB, free: 436 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007599, allocations: 4 kB / 259 MB, free: 432 kB / 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.0009402/0.008539, allocations: 0.7688 MB / 259.8 MB, free: 15.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.008569, allocations: 12.03 kB / 259.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000452/0.009021, allocations: 172.5 kB / 260 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.009202, allocations: 199.8 kB / 260.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.009222, allocations: 29.03 kB / 260.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.009257, allocations: 32.38 kB / 260.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.009493, allocations: 251.2 kB / 260.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.009507, allocations: 4.141 kB / 260.5 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.009532, allocations: 19.94 kB / 260.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.009539, allocations: 8 kB / 260.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.009665, allocations: 108.4 kB / 260.6 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.01094, allocations: 1.081 MB / 261.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.0112, allocations: 199 kB / 261.9 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.01125, allocations: 59.64 kB / 262 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.01129, allocations: 11.98 kB / 262 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.01131, allocations: 37.39 kB / 262 MB, free: 13.29 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.01131, allocations: 0 / 262 MB, free: 13.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005599/0.01187, allocations: 325.1 kB / 262.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.0119, allocations: 63.34 kB / 262.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.012, allocations: 222.4 kB / 262.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01201, allocations: 29.7 kB / 262.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.01209, allocations: 227.1 kB / 262.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.01214, allocations: 87.2 kB / 262.9 MB, free: 12.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.01219, allocations: 63.61 kB / 263 MB, free: 12.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0123, allocations: 0.5001 MB / 263.5 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.01234, allocations: 32.53 kB / 263.5 MB, free: 11.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.01241, allocations: 118.8 kB / 263.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.01254, allocations: 174.7 kB / 263.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01254, allocations: 3.938 kB / 263.8 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002586/0.0128, allocations: 255.3 kB / 264.1 MB, free: 11.08 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01281, allocations: 8 kB / 264.1 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01282, allocations: 0 / 264.1 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.01301, allocations: 87.53 kB / 264.2 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.01309, allocations: 35.98 kB / 264.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.0142, allocations: 2.271 MB / 266.5 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.01427, allocations: 27.78 kB / 266.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01428, allocations: 16.03 kB / 266.5 MB, free: 8.523 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 8.237e-05/0.01436, allocations: 176.4 kB / 266.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.01439, allocations: 19.91 kB / 266.7 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.01463, allocations: 210.3 kB / 266.9 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01463, allocations: 0 / 266.9 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.01464, allocations: 8 kB / 266.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01464, allocations: 0 / 266.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.01509, allocations: 0.5326 MB / 267.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01509, allocations: 0 / 267.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.01515, allocations: 27.92 kB / 267.5 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001417/0.01529, allocations: 75.83 kB / 267.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.0153, allocations: 8 kB / 267.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.0166, allocations: 2.283 MB / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0166, allocations: 0 / 269.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.01688, allocations: 384.8 kB / 270.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.01692, allocations: 31.83 kB / 270.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.01693, allocations: 8 kB / 270.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.01699, allocations: 4 kB / 270.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.01701, allocations: 23.95 kB / 270.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01702, allocations: 8.062 kB / 270.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.01707, allocations: 155 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01707, allocations: 0 / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.01735, allocations: 95.78 kB / 270.5 MB, free: 4.289 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.0001309/0.01748, allocations: 131 kB / 270.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.01779, allocations: 346.2 kB / 271 MB, free: 3.793 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01779, allocations: 4 kB / 271 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.01796, allocations: 281.2 kB / 271.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01815, allocations: 16.44 kB / 271.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.01889, allocations: 0.5202 MB / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.137e-05/0.01894, allocations: 88.31 kB / 271.9 MB, free: 2.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.019, allocations: 17.64 kB / 271.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.01906, allocations: 94.19 kB / 272 MB, free: 2.711 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01906, allocations: 0 / 272 MB, free: 2.711 MB / 250.7 MB Notification: Performance of Templates: time 0.00491/0.02397, allocations: 2.822 MB / 274.8 MB, free: 15.91 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","",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.700559017714113]