Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001649/0.001649, allocations: 82.25 kB / 21.25 MB, free: 0.5469 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.001941/0.001941, allocations: 160.2 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 177.1 MB / 204.7 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 61.28 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.01212/0.1465, allocations: 4.719 MB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.152, allocations: 1.646 MB / 385.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004032/0.1524, allocations: 20 kB / 385.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005431/0.1578, allocations: 1.377 MB / 386.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.1592, allocations: 321.6 kB / 387 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1617, allocations: 0.6147 MB / 387.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1633, allocations: 0.8014 MB / 388.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.165, allocations: 0.6752 MB / 389.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000675/0.1657, allocations: 362.7 kB / 389.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.1665, allocations: 402.2 kB / 389.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.1666, allocations: 72 kB / 389.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.1675, allocations: 255.8 kB / 390.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.1677, allocations: 179.3 kB / 390.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.1683, allocations: 342.4 kB / 390.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1704, allocations: 1.206 MB / 391.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1704, allocations: 11.94 kB / 391.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1704, allocations: 4 kB / 391.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.1705, allocations: 0 / 391.9 MB, free: 2.434 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.007447/0.1779, allocations: 1.398 MB / 393.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.178, allocations: 11.98 kB / 393.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.1809, allocations: 240.2 kB / 393.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.1813, allocations: 205.4 kB / 393.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.1814, allocations: 70.38 kB / 393.8 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.1817, allocations: 104.4 kB / 393.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.1842, allocations: 0.9386 MB / 394.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/0.1843, allocations: 11.95 kB / 394.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.1844, allocations: 36 kB / 394.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.1844, allocations: 24 kB / 394.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.1867, allocations: 0.7847 MB / 395.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008737/0.1954, allocations: 2.708 MB / 398.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.1987, allocations: 0.8794 MB / 399.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/0.1996, allocations: 329.6 kB / 399.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/0.1998, allocations: 36.97 kB / 399.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1998, allocations: 43.56 kB / 399.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 5.13e-06/0.1998, allocations: 3.938 kB / 399.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.003645/0.2035, allocations: 1.011 MB / 400.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.2036, allocations: 86.11 kB / 400.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.2043, allocations: 339.9 kB / 401.1 MB, free: 8.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.2043, allocations: 37.7 kB / 401.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.2047, allocations: 404.1 kB / 401.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.2051, allocations: 305.4 kB / 401.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/0.2056, allocations: 178.9 kB / 402 MB, free: 8.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.2058, allocations: 362.8 kB / 402.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/0.2067, allocations: 266.5 kB / 402.6 MB, free: 7.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2078, allocations: 475.4 kB / 403.1 MB, free: 6.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.2099, allocations: 0.7784 MB / 403.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.2099, allocations: 0 / 403.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003202/0.2131, allocations: 0.9807 MB / 404.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.2132, allocations: 10.81 kB / 404.9 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.2132, allocations: 4 kB / 404.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.2139, allocations: 123.7 kB / 405 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.2155, allocations: 207.6 kB / 405.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.2227, allocations: 5.598 MB / 410.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2238, allocations: 103.2 kB / 410.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.2239, allocations: 47.98 kB / 410.9 MB, free: 14.5 MB / 382.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.0005267/0.2244, allocations: 221.6 kB / 411.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.2246, allocations: 47.84 kB / 411.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.2267, allocations: 0.855 MB / 412 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.2267, allocations: 8 kB / 412.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2267, allocations: 4 kB / 412.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.2267, allocations: 3.984 kB / 412.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.2296, allocations: 1.573 MB / 413.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2296, allocations: 4 kB / 413.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.2303, allocations: 143.7 kB / 413.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.2306, allocations: 107.6 kB / 413.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.2306, allocations: 20 kB / 413.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004133/0.2348, allocations: 5.189 MB / 419.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2348, allocations: 4.031 kB / 419.1 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.2368, allocations: 1.273 MB / 420.4 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2369, allocations: 63.73 kB / 420.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.237, allocations: 27.88 kB / 420.5 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004209/0.2374, allocations: 16 kB / 420.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.2376, allocations: 76.64 kB / 420.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.2376, allocations: 31.98 kB / 420.6 MB, free: 4.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.2379, allocations: 215.1 kB / 420.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2379, allocations: 3.938 kB / 420.8 MB, free: 4.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001022/0.2389, allocations: 275.4 kB / 421.1 MB, free: 3.789 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.0002957/0.2392, allocations: 155 kB / 421.2 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.241, allocations: 1.137 MB / 422.4 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.241, allocations: 0 / 422.4 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.242, allocations: 0.7659 MB / 423.1 MB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.2426, allocations: 52.64 kB / 423.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.2454, allocations: 1.379 MB / 424.6 MB, free: 132 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2458, allocations: 326.2 kB / 424.9 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004127/0.2462, allocations: 101 kB / 425 MB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.2463, allocations: 56.48 kB / 425 MB, free: 15.62 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2463, allocations: 0 / 425 MB, free: 15.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01512/0.2615, allocations: 6.972 MB / 432 MB, free: 8.742 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.711448646965437]