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.001297/0.001297, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001304/0.001304, allocations: 146.7 kB / 23.94 MB, free: 4.16 MB / 14.72 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.407/1.407, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] 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.342e-06/1.342e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.358e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003305/0.003328, allocations: 2.642 MB / 321.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.004854, allocations: 1.078 MB / 322.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.004979, allocations: 10.62 kB / 322.7 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.006371, allocations: 0.5995 MB / 323.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.006741, allocations: 139.3 kB / 323.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.008064, allocations: 0.6397 MB / 324 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.008438, allocations: 316.3 kB / 324.3 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.008867, allocations: 238.2 kB / 324.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.009144, allocations: 192.6 kB / 324.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.009349, allocations: 125.1 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.00939, allocations: 24.75 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.009722, allocations: 171.2 kB / 325.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.009847, allocations: 60.91 kB / 325.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.009976, allocations: 102.7 kB / 325.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.01072, allocations: 0.5063 MB / 325.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01072, allocations: 0 / 325.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01072, allocations: 1.062 kB / 325.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.01073, allocations: 4 kB / 325.7 MB, free: 15.48 MB / 302.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.001703/0.01243, allocations: 0.6519 MB / 326.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.01247, allocations: 14.42 kB / 326.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.01332, allocations: 115 kB / 326.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.01368, allocations: 206.6 kB / 326.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.01371, allocations: 26.03 kB / 326.8 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.01376, allocations: 29 kB / 326.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.01435, allocations: 333 kB / 327.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.01438, allocations: 6.188 kB / 327.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.01442, allocations: 15.5 kB / 327.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01443, allocations: 6.781 kB / 327.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.01491, allocations: 243.4 kB / 327.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.01684, allocations: 1.032 MB / 328.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/0.01739, allocations: 230.6 kB / 328.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.01757, allocations: 92.27 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.446e-05/0.01765, allocations: 8.703 kB / 328.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.01768, allocations: 32.97 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.01768, allocations: 0 / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001304/0.01898, allocations: 423.9 kB / 329.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.01904, allocations: 57.45 kB / 329.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.01921, allocations: 167.3 kB / 329.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.01924, allocations: 26.86 kB / 329.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01937, allocations: 187.1 kB / 329.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.01944, allocations: 87.42 kB / 329.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.01953, allocations: 48.92 kB / 329.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01968, allocations: 328 kB / 330.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.0198, allocations: 70.14 kB / 330.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.01998, allocations: 138.3 kB / 330.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.02028, allocations: 212.6 kB / 330.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.02029, allocations: 1.125 kB / 330.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006125/0.0209, allocations: 329 kB / 330.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.02092, allocations: 5.594 kB / 330.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.02093, allocations: 10.52 kB / 330.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/0.02126, allocations: 71.03 kB / 330.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.02142, allocations: 51.58 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.02357, allocations: 1.886 MB / 332.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.02371, allocations: 26.22 kB / 332.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.02373, allocations: 12.75 kB / 332.8 MB, free: 10.48 MB / 302.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.000156/0.02389, allocations: 148.7 kB / 333 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.02393, allocations: 15.17 kB / 333 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.02451, allocations: 282.5 kB / 333.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02451, allocations: 6.156 kB / 333.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02451, allocations: 2.125 kB / 333.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.02452, allocations: 5.156 kB / 333.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.02548, allocations: 0.5826 MB / 333.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02549, allocations: 0 / 333.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.0256, allocations: 23.95 kB / 333.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.02585, allocations: 80.08 kB / 334 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.02587, allocations: 6.062 kB / 334 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.0279, allocations: 1.879 MB / 335.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.02791, allocations: 4.594 kB / 335.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.02859, allocations: 445.5 kB / 336.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.02866, allocations: 34.2 kB / 336.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.02869, allocations: 10.5 kB / 336.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.02881, allocations: 16.39 kB / 336.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.02885, allocations: 16.73 kB / 336.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.02887, allocations: 12.56 kB / 336.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.02897, allocations: 118.9 kB / 336.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02897, allocations: 0 / 336.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004842/0.02946, allocations: 93.88 kB / 336.6 MB, free: 7.668 MB / 302.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.0002058/0.02966, allocations: 122.9 kB / 336.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.03029, allocations: 336.5 kB / 337.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03029, allocations: 64 / 337.1 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.03063, allocations: 248.1 kB / 337.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.03094, allocations: 13.59 kB / 337.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.03189, allocations: 0.5189 MB / 337.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.03203, allocations: 149.4 kB / 338 MB, free: 6.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.592e-05/0.03212, allocations: 22.19 kB / 338 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.03216, allocations: 20.73 kB / 338 MB, free: 6.645 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.03216, allocations: 0 / 338 MB, free: 6.645 MB / 302.1 MB Notification: Performance of Templates: time 0.006671/0.03883, allocations: 2.584 MB / 340.6 MB, free: 5.32 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.2640047781169415]