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.0009723/0.0009723, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001477/0.001477, allocations: 169.7 kB / 25.33 MB, free: 9.461 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.8353/0.8353, allocations: 158.6 MB / 187.2 MB, free: 2.48 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.272e-06/1.272e-06, allocations: 0 / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.328e-05, allocations: 2.312 kB / 251 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002677/0.0027, allocations: 2.727 MB / 253.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003974, allocations: 1.169 MB / 254.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004077, allocations: 8 kB / 255 MB, free: 15.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.004956, allocations: 0.6532 MB / 255.6 MB, free: 14.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.005175, allocations: 135 kB / 255.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.005921, allocations: 0.6186 MB / 256.4 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.006252, allocations: 310.4 kB / 256.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.006589, allocations: 235.1 kB / 256.9 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.006767, allocations: 187.6 kB / 257.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.006906, allocations: 127.7 kB / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.006937, allocations: 31.94 kB / 257.2 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.00723, allocations: 167.8 kB / 257.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.007266, allocations: 63.75 kB / 257.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.007335, allocations: 95.77 kB / 257.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.007737, allocations: 382.6 kB / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.007741, allocations: 0 / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007742, allocations: 0 / 257.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.007748, allocations: 0 / 257.9 MB, free: 12.66 MB / 250.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.001008/0.008755, allocations: 0.7612 MB / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.008792, allocations: 12.03 kB / 258.7 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/0.009295, allocations: 172.5 kB / 258.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.009529, allocations: 204.1 kB / 259.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.009549, allocations: 25.03 kB / 259.1 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.00959, allocations: 40.31 kB / 259.1 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.009917, allocations: 271.3 kB / 259.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.009932, allocations: 4.141 kB / 259.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.009957, allocations: 19.94 kB / 259.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.009968, allocations: 8 kB / 259.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.01016, allocations: 139.8 kB / 259.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01139, allocations: 1.108 MB / 260.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01173, allocations: 225.8 kB / 260.9 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.01182, allocations: 67.66 kB / 261 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.01189, allocations: 11.98 kB / 261 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01191, allocations: 37.39 kB / 261 MB, free: 9.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 2.435e-06/0.01191, allocations: 0 / 261 MB, free: 9.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007083/0.01262, allocations: 353.1 kB / 261.3 MB, free: 9.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01265, allocations: 55.41 kB / 261.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.01277, allocations: 226.5 kB / 261.6 MB, free: 8.758 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.01279, allocations: 29.7 kB / 261.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.01288, allocations: 231.1 kB / 261.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.01293, allocations: 91.22 kB / 262 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.01299, allocations: 55.64 kB / 262 MB, free: 8.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01311, allocations: 0.4962 MB / 262.5 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.01317, allocations: 40.53 kB / 262.6 MB, free: 7.793 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01327, allocations: 130.7 kB / 262.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.01345, allocations: 186.8 kB / 262.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01345, allocations: 0 / 262.9 MB, free: 7.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003316/0.01378, allocations: 275.4 kB / 263.1 MB, free: 7.137 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.0138, allocations: 11.98 kB / 263.1 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01381, allocations: 3.938 kB / 263.1 MB, free: 7.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.01407, allocations: 79.52 kB / 263.2 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.01417, allocations: 47.94 kB / 263.3 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.01552, allocations: 2.317 MB / 265.6 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.0156, allocations: 35.66 kB / 265.6 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01562, allocations: 12 kB / 265.6 MB, free: 4.512 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 0.0001044/0.01572, allocations: 172.5 kB / 265.8 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01575, allocations: 23.91 kB / 265.8 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.01609, allocations: 230.2 kB / 266.1 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01609, allocations: 4 kB / 266.1 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01609, allocations: 0 / 266.1 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.0161, allocations: 3.938 kB / 266.1 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.01666, allocations: 0.5945 MB / 266.7 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01667, allocations: 3.984 kB / 266.7 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.01674, allocations: 20 kB / 266.7 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.01691, allocations: 79.84 kB / 266.8 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01692, allocations: 4 kB / 266.8 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.01806, allocations: 2.325 MB / 269.1 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01806, allocations: 7.938 kB / 269.1 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.01842, allocations: 405 kB / 269.5 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.01846, allocations: 31.83 kB / 269.5 MB, free: 412 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.01848, allocations: 4 kB / 269.5 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.01854, allocations: 15.92 kB / 269.5 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.01857, allocations: 11.97 kB / 269.6 MB, free: 380 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01858, allocations: 12 kB / 269.6 MB, free: 368 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.434e-05/0.01864, allocations: 159 kB / 269.7 MB, free: 208 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01864, allocations: 4.062 kB / 269.7 MB, free: 204 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.01899, allocations: 99.78 kB / 269.8 MB, free: 104 kB / 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.0002165/0.01921, allocations: 123.2 kB / 269.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.01964, allocations: 366.3 kB / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01964, allocations: 0 / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.01983, allocations: 289.2 kB / 270.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.02005, allocations: 23.94 kB / 270.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.02097, allocations: 0.5158 MB / 271.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.02103, allocations: 84.31 kB / 271.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.02109, allocations: 21.62 kB / 271.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.02112, allocations: 20.5 kB / 271.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02112, allocations: 0 / 271.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Templates: time 0.005164/0.02628, allocations: 2.747 MB / 274 MB, free: 11.85 MB / 266.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.5805203788913786]