Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007105/0.007105, allocations: 108.7 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 259 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 64.77 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2233, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006824/0.2301, allocations: 5.305 MB / 438.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.2332, allocations: 1.767 MB / 440.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.2335, allocations: 16 kB / 440.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.2366, allocations: 1.43 MB / 441.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007854/0.2374, allocations: 325.6 kB / 442 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2388, allocations: 0.6421 MB / 442.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.2397, allocations: 0.8052 MB / 443.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.2407, allocations: 0.6829 MB / 444.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.2412, allocations: 358.7 kB / 444.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.2418, allocations: 462.2 kB / 444.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.2419, allocations: 79.94 kB / 445 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.2424, allocations: 259.8 kB / 445.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2425, allocations: 171.4 kB / 445.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.2429, allocations: 433.8 kB / 445.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.2443, allocations: 1.208 MB / 447.1 MB, free: 9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2443, allocations: 3.938 kB / 447.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2443, allocations: 4 kB / 447.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.2443, allocations: 0 / 447.1 MB, free: 8.992 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00397/0.2483, allocations: 1.398 MB / 448.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2483, allocations: 8.031 kB / 448.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.25, allocations: 244.2 kB / 448.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.2502, allocations: 197.5 kB / 448.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.2503, allocations: 74.38 kB / 449 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.2504, allocations: 96.38 kB / 449.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.2521, allocations: 0.9464 MB / 450 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.2521, allocations: 11.95 kB / 450 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.2522, allocations: 40 kB / 450.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.2522, allocations: 24 kB / 450.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2537, allocations: 0.7886 MB / 450.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.2589, allocations: 3.084 MB / 454 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.2608, allocations: 0.8742 MB / 454.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.2613, allocations: 333.1 kB / 455.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.2615, allocations: 40.94 kB / 455.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.2615, allocations: 43.55 kB / 455.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.2615, allocations: 3.938 kB / 455.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002183/0.2637, allocations: 0.9993 MB / 456.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.2637, allocations: 90.14 kB / 456.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.2642, allocations: 372.3 kB / 456.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.2642, allocations: 41.7 kB / 456.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.2645, allocations: 392.2 kB / 457.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.2648, allocations: 313.3 kB / 457.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.265, allocations: 174.9 kB / 457.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2652, allocations: 362.8 kB / 458 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.2657, allocations: 266.5 kB / 458.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/0.2664, allocations: 479.4 kB / 458.7 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2676, allocations: 0.7784 MB / 459.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2676, allocations: 4 kB / 459.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00182/0.2694, allocations: 0.9765 MB / 460.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2694, allocations: 4.625 kB / 460.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2694, allocations: 8 kB / 460.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.2698, allocations: 127.3 kB / 460.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.2706, allocations: 207.7 kB / 460.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.2754, allocations: 5.708 MB / 466.5 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.276, allocations: 99.25 kB / 466.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.2761, allocations: 43.98 kB / 466.6 MB, free: 4.488 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.2764, allocations: 237.5 kB / 466.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2766, allocations: 55.67 kB / 466.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.2781, allocations: 0.8403 MB / 467.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2782, allocations: 12 kB / 467.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2782, allocations: 7.938 kB / 467.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2782, allocations: 7.922 kB / 467.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.2812, allocations: 1.771 MB / 469.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2812, allocations: 4 kB / 469.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.2818, allocations: 136.1 kB / 469.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003021/0.2821, allocations: 119.3 kB / 469.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.2822, allocations: 16 kB / 469.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.2863, allocations: 5.297 MB / 475.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.2864, allocations: 7.938 kB / 475.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.2884, allocations: 1.285 MB / 476.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2885, allocations: 75.39 kB / 476.5 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.2886, allocations: 23.94 kB / 476.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.289, allocations: 20 kB / 476.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.2891, allocations: 64.53 kB / 476.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.2891, allocations: 24 kB / 476.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.2894, allocations: 259.2 kB / 476.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2894, allocations: 0 / 476.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009392/0.2904, allocations: 263.5 kB / 477.1 MB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.2906, allocations: 155 kB / 477.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.2924, allocations: 1.141 MB / 478.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2924, allocations: 0 / 478.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009317/0.2933, allocations: 0.762 MB / 479.2 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.2939, allocations: 61.36 kB / 479.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.2964, allocations: 1.421 MB / 480.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.297, allocations: 0.911 MB / 481.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.2972, allocations: 67.42 kB / 481.7 MB, free: 4.625 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2972, allocations: 0 / 481.7 MB, free: 4.625 MB / 382.1 MB Notification: Performance of Templates: time 0.02462/0.3218, allocations: 21.48 MB / 0.4913 GB, free: 15.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 8.74628874589689]