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.001866/0.001866, allocations: 84.66 kB / 21.99 MB, free: 4.754 MB / 14.72 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.002191/0.002191, allocations: 157.4 kB / 25.25 MB, free: 2.742 MB / 14.72 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.316/1.316, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 59.86 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2051, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004153/0.2093, allocations: 2.516 MB / 351 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2113, allocations: 1.114 MB / 352.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2115, allocations: 8 kB / 352.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2131, allocations: 0.6146 MB / 352.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.2134, allocations: 131 kB / 352.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2149, allocations: 0.6149 MB / 353.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.2154, allocations: 290.6 kB / 353.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000485/0.2158, allocations: 247 kB / 354 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2161, allocations: 127.5 kB / 354.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2163, allocations: 143.4 kB / 354.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.2164, allocations: 28 kB / 354.3 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.2167, allocations: 167.8 kB / 354.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.2168, allocations: 63.7 kB / 354.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.217, allocations: 115.5 kB / 354.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.2176, allocations: 0.4928 MB / 355.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2176, allocations: 3.938 kB / 355.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2176, allocations: 3.938 kB / 355.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2176, allocations: 4 kB / 355.2 MB, free: 8.84 MB / 318.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.00171/0.2193, allocations: 0.6534 MB / 355.8 MB, free: 8.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2194, allocations: 12.03 kB / 355.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.2202, allocations: 116.7 kB / 356 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.2206, allocations: 198.8 kB / 356.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.2206, allocations: 29.03 kB / 356.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.2207, allocations: 36.36 kB / 356.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.2213, allocations: 329 kB / 356.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.2213, allocations: 4 kB / 356.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2213, allocations: 12 kB / 356.5 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2213, allocations: 8 kB / 356.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.2218, allocations: 238.5 kB / 356.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.2236, allocations: 1.036 MB / 357.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.2242, allocations: 234.5 kB / 358.1 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2243, allocations: 88.83 kB / 358.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.2244, allocations: 11.98 kB / 358.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.2244, allocations: 46.44 kB / 358.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.452e-06/0.2244, allocations: 0 / 358.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001282/0.2257, allocations: 410.2 kB / 358.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.2258, allocations: 55.41 kB / 358.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.226, allocations: 170.1 kB / 358.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.226, allocations: 29.7 kB / 358.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2261, allocations: 180.3 kB / 359 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.2262, allocations: 91.25 kB / 359.1 MB, free: 4.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.2263, allocations: 57.94 kB / 359.2 MB, free: 4.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2265, allocations: 322.8 kB / 359.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2266, allocations: 72.53 kB / 359.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2268, allocations: 132.1 kB / 359.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.2271, allocations: 220.8 kB / 359.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2271, allocations: 4 kB / 359.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006083/0.2278, allocations: 328.4 kB / 360.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2278, allocations: 4 kB / 360.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2278, allocations: 4 kB / 360.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003362/0.2281, allocations: 76.8 kB / 360.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.2283, allocations: 39.92 kB / 360.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.2305, allocations: 1.888 MB / 362.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.2307, allocations: 23.78 kB / 362.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.2307, allocations: 12 kB / 362.3 MB, free: 1.375 MB / 318.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.0001656/0.2309, allocations: 151 kB / 362.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.2309, allocations: 15.91 kB / 362.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.2315, allocations: 288.9 kB / 362.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2315, allocations: 4 kB / 362.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2315, allocations: 0 / 362.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2315, allocations: 0 / 362.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2326, allocations: 0.5886 MB / 363.3 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2326, allocations: 0 / 363.3 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2327, allocations: 20 kB / 363.3 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.233, allocations: 76.73 kB / 363.4 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.233, allocations: 8 kB / 363.4 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.235, allocations: 1.884 MB / 365.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.235, allocations: 3.969 kB / 365.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.2357, allocations: 452.7 kB / 365.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.2358, allocations: 39.98 kB / 365.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2358, allocations: 8 kB / 365.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.236, allocations: 0 / 365.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.236, allocations: 23.95 kB / 365.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.236, allocations: 4 kB / 365.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.2361, allocations: 115.1 kB / 365.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2361, allocations: 0 / 365.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.2366, allocations: 107.7 kB / 366 MB, free: 13.43 MB / 334.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.0002002/0.2368, allocations: 115.2 kB / 366.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.2374, allocations: 334.4 kB / 366.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2374, allocations: 0 / 366.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.2378, allocations: 239.8 kB / 366.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2381, allocations: 15.91 kB / 366.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2392, allocations: 0.5683 MB / 367.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2394, allocations: 146.5 kB / 367.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.2394, allocations: 21.62 kB / 367.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.2395, allocations: 20.48 kB / 367.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2395, allocations: 0 / 367.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Templates: time 0.006774/0.2463, allocations: 2.482 MB / 370 MB, free: 9.41 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/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/jenkins1/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.185498072998598]