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.0008956/0.0008956, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 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.003122/0.003122, allocations: 147.1 kB / 24.68 MB, free: 9.438 MB / 18.57 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 0.8286/0.8286, allocations: 173.4 MB / 201.2 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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.653e-06/1.653e-06, allocations: 0 / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.752e-05, allocations: 6.219 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002663/0.002691, allocations: 2.644 MB / 322.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003856, allocations: 1.078 MB / 323.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.00397, allocations: 11.94 kB / 323.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.0048, allocations: 0.5976 MB / 324 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.004989, allocations: 142.9 kB / 324.2 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.005672, allocations: 0.634 MB / 324.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.005956, allocations: 306.5 kB / 325.1 MB, free: 440 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.006279, allocations: 243 kB / 325.3 MB, free: 196 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.006435, allocations: 187.6 kB / 325.5 MB, free: 8 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.006576, allocations: 123.8 kB / 325.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.006607, allocations: 28 kB / 325.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.006804, allocations: 175.6 kB / 325.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.006838, allocations: 59.75 kB / 325.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.005e-05/0.006908, allocations: 99.75 kB / 326 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.007338, allocations: 0.5101 MB / 326.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.00734, allocations: 0 / 326.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007342, allocations: 0 / 326.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.007346, allocations: 0 / 326.5 MB, free: 15.02 MB / 298.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.0009617/0.008308, allocations: 0.6534 MB / 327.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.008343, allocations: 12.86 kB / 327.2 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.008744, allocations: 120.7 kB / 327.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.008979, allocations: 200.6 kB / 327.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.008998, allocations: 25.03 kB / 327.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.009037, allocations: 32.38 kB / 327.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.009379, allocations: 337.6 kB / 327.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.009396, allocations: 8.141 kB / 327.9 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.009416, allocations: 11.94 kB / 327.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.009424, allocations: 12 kB / 327.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.00969, allocations: 242.5 kB / 328.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.01079, allocations: 1.032 MB / 329.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.0111, allocations: 237.2 kB / 329.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.01119, allocations: 92.81 kB / 329.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.865e-05/0.01125, allocations: 15.92 kB / 329.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.01127, allocations: 34.56 kB / 329.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.01127, allocations: 0 / 329.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007161/0.01199, allocations: 420 kB / 329.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.01202, allocations: 55.41 kB / 330 MB, free: 11.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.01213, allocations: 172.9 kB / 330.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.01214, allocations: 29.7 kB / 330.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.01222, allocations: 180.3 kB / 330.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.01226, allocations: 83.3 kB / 330.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.01232, allocations: 49.98 kB / 330.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.0124, allocations: 330.8 kB / 330.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.01248, allocations: 60.55 kB / 330.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.01258, allocations: 137 kB / 331 MB, free: 10.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.01278, allocations: 216.1 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01278, allocations: 0 / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000343/0.01312, allocations: 324.4 kB / 331.6 MB, free: 9.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01313, allocations: 8.219 kB / 331.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01314, allocations: 7.938 kB / 331.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.01333, allocations: 72.81 kB / 331.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.01342, allocations: 47.91 kB / 331.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.01465, allocations: 1.892 MB / 333.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.01471, allocations: 27.78 kB / 333.6 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01472, allocations: 15.94 kB / 333.6 MB, free: 7.535 MB / 298.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 9.535e-05/0.01482, allocations: 145.8 kB / 333.8 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.01484, allocations: 15.91 kB / 333.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.01516, allocations: 286 kB / 334.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01517, allocations: 7.984 kB / 334.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01517, allocations: 0 / 334.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01517, allocations: 3.938 kB / 334.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.01571, allocations: 0.5769 MB / 334.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01571, allocations: 0 / 334.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.01577, allocations: 27.98 kB / 334.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.01589, allocations: 80.67 kB / 334.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01591, allocations: 8 kB / 334.8 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.01708, allocations: 1.884 MB / 336.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01708, allocations: 3.938 kB / 336.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.01749, allocations: 439.1 kB / 337.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.01754, allocations: 35.84 kB / 337.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.01755, allocations: 8 kB / 337.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.01761, allocations: 11.88 kB / 337.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.01764, allocations: 15.97 kB / 337.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01765, allocations: 12.12 kB / 337.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.326e-05/0.0177, allocations: 115.2 kB / 337.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0177, allocations: 0 / 337.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000279/0.01798, allocations: 95.78 kB / 337.4 MB, free: 3.613 MB / 298.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.0001559/0.01814, allocations: 126 kB / 337.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.01851, allocations: 335.1 kB / 337.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01852, allocations: 0 / 337.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.01871, allocations: 241.8 kB / 338 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01893, allocations: 28.44 kB / 338.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.01955, allocations: 0.5514 MB / 338.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.01964, allocations: 146.3 kB / 338.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.01967, allocations: 24.48 kB / 338.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01968, allocations: 0 / 338.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of Templates: time 0.003943/0.02362, allocations: 4.088 MB / 342.9 MB, free: 14.01 MB / 314.7 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.367050047032535]