Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0009556/0.0009556, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009753/0.0009753, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9685/0.9685, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.678e-05, allocations: 6.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00299/0.003007, allocations: 2.868 MB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.004412, allocations: 1.187 MB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.004529, allocations: 8 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009108/0.005439, allocations: 0.6456 MB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.005718, allocations: 150.8 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.006453, allocations: 0.6373 MB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.006772, allocations: 306.4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.007094, allocations: 235.2 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.007288, allocations: 191.5 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.007435, allocations: 139.7 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.007464, allocations: 28 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.007736, allocations: 171.7 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.00777, allocations: 63.69 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.007843, allocations: 107.8 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.008211, allocations: 374.8 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.008212, allocations: 0 / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.008213, allocations: 0 / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.008217, allocations: 0 / 280 MB, free: 10.34 MB / 266.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.0009909/0.009208, allocations: 0.7689 MB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.009245, allocations: 8.031 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.009732, allocations: 172.5 kB / 280.9 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.009947, allocations: 204.2 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.009965, allocations: 21.03 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.01, allocations: 32.38 kB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.01032, allocations: 279.2 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.01033, allocations: 4.141 kB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.01036, allocations: 15.94 kB / 281.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01036, allocations: 8 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.01056, allocations: 139.8 kB / 281.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01199, allocations: 1.12 MB / 282.7 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.01229, allocations: 227.1 kB / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.01237, allocations: 67.66 kB / 283 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.01246, allocations: 15.98 kB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.01248, allocations: 41.33 kB / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.01248, allocations: 0 / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006643/0.01315, allocations: 354.5 kB / 283.4 MB, free: 6.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.01317, allocations: 51.41 kB / 283.5 MB, free: 6.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.01328, allocations: 222.6 kB / 283.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01329, allocations: 33.7 kB / 283.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.01337, allocations: 223 kB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.01341, allocations: 91.22 kB / 284 MB, free: 6.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.01347, allocations: 59.64 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01358, allocations: 0.5001 MB / 284.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.01364, allocations: 44.47 kB / 284.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.01373, allocations: 127.3 kB / 284.8 MB, free: 5.273 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.0139, allocations: 194.6 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01391, allocations: 4 kB / 285 MB, free: 5.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003178/0.01422, allocations: 279.4 kB / 285.2 MB, free: 4.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.01424, allocations: 4 kB / 285.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01424, allocations: 7.938 kB / 285.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.01446, allocations: 71.62 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.01456, allocations: 47.95 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01579, allocations: 2.317 MB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.01585, allocations: 23.78 kB / 287.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01587, allocations: 12 kB / 287.7 MB, free: 2.16 MB / 266.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.152e-05/0.01596, allocations: 184.5 kB / 287.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.01599, allocations: 23.91 kB / 287.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.0163, allocations: 228 kB / 288.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.0163, allocations: 4 kB / 288.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.0163, allocations: 4 kB / 288.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01631, allocations: 7.922 kB / 288.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.01683, allocations: 0.5868 MB / 288.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01683, allocations: 0 / 288.7 MB, free: 1.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.0169, allocations: 23.98 kB / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.01706, allocations: 87.72 kB / 288.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01707, allocations: 4 kB / 288.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.01843, allocations: 2.321 MB / 291.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01843, allocations: 3.938 kB / 291.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.01879, allocations: 415.5 kB / 291.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.01883, allocations: 35.81 kB / 291.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01884, allocations: 8 kB / 291.6 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.0189, allocations: 11.88 kB / 291.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.01894, allocations: 19.97 kB / 291.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.01894, allocations: 8.062 kB / 291.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.019, allocations: 155.6 kB / 291.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.019, allocations: 0 / 291.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.0193, allocations: 99.77 kB / 291.9 MB, free: 13.74 MB / 282.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.0001658/0.01947, allocations: 130 kB / 292 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.01987, allocations: 359.7 kB / 292.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01987, allocations: 0 / 292.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.02005, allocations: 297 kB / 292.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.02028, allocations: 28.41 kB / 292.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/0.02114, allocations: 0.5112 MB / 293.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.0212, allocations: 84.31 kB / 293.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.02125, allocations: 25.94 kB / 293.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.02128, allocations: 20.5 kB / 293.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02128, allocations: 0 / 293.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Templates: time 0.005056/0.02634, allocations: 2.941 MB / 296.3 MB, free: 9.289 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6351624000817537]