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.001271/0.001271, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001626/0.001626, allocations: 163.1 kB / 25.69 MB, free: 8.418 MB / 18.57 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 0.8716/0.8716, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.98e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002834/0.002854, allocations: 2.69 MB / 254.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.004482, allocations: 1.188 MB / 255.4 MB, free: 3.367 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004607, allocations: 8 kB / 255.4 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009136/0.00552, allocations: 0.6532 MB / 256.1 MB, free: 2.703 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.005786, allocations: 143 kB / 256.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.006539, allocations: 0.6224 MB / 256.8 MB, free: 1.938 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.00686, allocations: 306.4 kB / 257.1 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.007171, allocations: 257.6 kB / 257.4 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.00736, allocations: 187.6 kB / 257.6 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.007502, allocations: 127.7 kB / 257.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.007531, allocations: 28 kB / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.00782, allocations: 175.7 kB / 257.9 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.007862, allocations: 59.7 kB / 257.9 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.007938, allocations: 99.75 kB / 258 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.00836, allocations: 374.8 kB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.008363, allocations: 4 kB / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008364, allocations: 0 / 258.4 MB, free: 356 kB / 234.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.008369, allocations: 0 / 258.4 MB, free: 356 kB / 234.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.000967/0.009336, allocations: 0.6714 MB / 259.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.009365, allocations: 8.031 kB / 259.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.009836, allocations: 172.7 kB / 259.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.01002, allocations: 173.3 kB / 259.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.01004, allocations: 21.03 kB / 259.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.01008, allocations: 32.38 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.0103, allocations: 237.6 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01032, allocations: 4.188 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.01033, allocations: 11.94 kB / 259.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.01034, allocations: 8 kB / 259.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.01045, allocations: 100.5 kB / 259.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/0.01142, allocations: 0.8411 MB / 260.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.01164, allocations: 182.4 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.01169, allocations: 52.83 kB / 260.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/0.01176, allocations: 15.98 kB / 260.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.01178, allocations: 30.56 kB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.01178, allocations: 0 / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005126/0.01229, allocations: 294.4 kB / 261.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.01232, allocations: 55.34 kB / 261.3 MB, free: 13.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.0124, allocations: 163.2 kB / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.01241, allocations: 29.7 kB / 261.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.01248, allocations: 180.3 kB / 261.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.01252, allocations: 91.19 kB / 261.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.01257, allocations: 49.97 kB / 261.8 MB, free: 12.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.01264, allocations: 326.8 kB / 262.1 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.01268, allocations: 24.55 kB / 262.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.01274, allocations: 92.11 kB / 262.2 MB, free: 12.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.01285, allocations: 144.1 kB / 262.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01285, allocations: 4 kB / 262.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002304/0.01308, allocations: 212.5 kB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.01309, allocations: 4 kB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.0131, allocations: 4 kB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.01328, allocations: 64.91 kB / 262.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.01337, allocations: 51.78 kB / 262.7 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009507/0.01432, allocations: 1.575 MB / 264.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.01439, allocations: 31.8 kB / 264.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.0144, allocations: 8 kB / 264.3 MB, free: 10.11 MB / 250.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 7.51e-05/0.01447, allocations: 125.7 kB / 264.4 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.0145, allocations: 19.98 kB / 264.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.01471, allocations: 187.3 kB / 264.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01471, allocations: 4 kB / 264.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01472, allocations: 4 kB / 264.7 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.01472, allocations: 3.984 kB / 264.7 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/0.01512, allocations: 387.5 kB / 265 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01512, allocations: 0 / 265 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.01517, allocations: 27.98 kB / 265.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.01531, allocations: 72.66 kB / 265.1 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01532, allocations: 8 kB / 265.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008422/0.01616, allocations: 1.591 MB / 266.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01616, allocations: 0 / 266.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.0164, allocations: 297.7 kB / 267 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.01643, allocations: 19.91 kB / 267 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.01645, allocations: 4 kB / 267 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.0165, allocations: 4 kB / 267 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.01653, allocations: 28.02 kB / 267.1 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01653, allocations: 4 kB / 267.1 MB, free: 7.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.01656, allocations: 36.89 kB / 267.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01656, allocations: 0 / 267.1 MB, free: 7.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01685, allocations: 99.72 kB / 267.2 MB, free: 7.051 MB / 250.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.0001436/0.01699, allocations: 100.3 kB / 267.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.0173, allocations: 276.2 kB / 267.6 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.0173, allocations: 0 / 267.6 MB, free: 6.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.01746, allocations: 227.5 kB / 267.8 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.01761, allocations: 19.94 kB / 267.8 MB, free: 6.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.01838, allocations: 0.5049 MB / 268.3 MB, free: 5.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.01843, allocations: 88.25 kB / 268.4 MB, free: 5.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.01849, allocations: 29.62 kB / 268.4 MB, free: 5.738 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.01855, allocations: 63.38 kB / 268.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01855, allocations: 0 / 268.5 MB, free: 5.676 MB / 250.7 MB Notification: Performance of Templates: time 0.004647/0.02319, allocations: 2.773 MB / 271.3 MB, free: 2.914 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.786369556095451]