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.001796/0.001796, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001847/0.001847, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.529/1.529, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 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.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.272e-06/1.272e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.703e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004771/0.004798, allocations: 2.844 MB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.00688, allocations: 1.168 MB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.007006, allocations: 7.938 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.008747, allocations: 0.6572 MB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.009093, allocations: 135 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.01053, allocations: 0.6299 MB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000452/0.01098, allocations: 314.4 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.01146, allocations: 239.1 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.01177, allocations: 191.6 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.01202, allocations: 135.7 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.01207, allocations: 24 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.01245, allocations: 179.7 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.01251, allocations: 55.77 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01264, allocations: 99.75 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.01341, allocations: 0.5295 MB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.01341, allocations: 4 kB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01341, allocations: 0 / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.01342, allocations: 0 / 279.4 MB, free: 10.59 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.001795/0.01521, allocations: 0.7764 MB / 280.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.01527, allocations: 8.031 kB / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.01616, allocations: 172.5 kB / 280.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.0166, allocations: 208.8 kB / 280.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.01663, allocations: 25.03 kB / 280.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.0167, allocations: 36.38 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.01732, allocations: 351.3 kB / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01734, allocations: 192 / 280.9 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.01738, allocations: 19.94 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.01739, allocations: 12 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.01783, allocations: 230.5 kB / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.02006, allocations: 1.233 MB / 282.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.02065, allocations: 259 kB / 282.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.02082, allocations: 91.66 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.02093, allocations: 15.98 kB / 282.8 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.02097, allocations: 41.39 kB / 282.8 MB, free: 6.973 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.02097, allocations: 4 kB / 282.8 MB, free: 6.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.001352/0.02232, allocations: 431.3 kB / 283.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.02237, allocations: 55.41 kB / 283.3 MB, free: 6.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.0226, allocations: 243.3 kB / 283.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.02263, allocations: 29.7 kB / 283.6 MB, free: 6.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.0228, allocations: 235 kB / 283.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.031e-05/0.02289, allocations: 91.28 kB / 283.9 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.023, allocations: 67.64 kB / 284 MB, free: 5.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.02329, allocations: 0.5079 MB / 284.5 MB, free: 5.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.02342, allocations: 60.55 kB / 284.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.02364, allocations: 159.3 kB / 284.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.02406, allocations: 250.7 kB / 284.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.02406, allocations: 4 kB / 284.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00072/0.02478, allocations: 335.2 kB / 285.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.02481, allocations: 4 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.02482, allocations: 7.938 kB / 285.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004924/0.02531, allocations: 95.78 kB / 285.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.02549, allocations: 39.92 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.02848, allocations: 2.529 MB / 287.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.02863, allocations: 27.78 kB / 288 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.02865, allocations: 8 kB / 288 MB, free: 1.562 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 0.0002003/0.02885, allocations: 196.5 kB / 288.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.02891, allocations: 23.91 kB / 288.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.02955, allocations: 283.1 kB / 288.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.02956, allocations: 7.984 kB / 288.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.02956, allocations: 0 / 288.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.02957, allocations: 7.922 kB / 288.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.0307, allocations: 0.6923 MB / 289.2 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0307, allocations: 3.938 kB / 289.2 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.03082, allocations: 23.98 kB / 289.2 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.03117, allocations: 91.5 kB / 289.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.03118, allocations: 8 kB / 289.3 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.0338, allocations: 2.509 MB / 291.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.03381, allocations: 3.938 kB / 291.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008066/0.03461, allocations: 0.5036 MB / 292.3 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.03469, allocations: 35.81 kB / 292.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.03472, allocations: 4 kB / 292.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.03484, allocations: 11.94 kB / 292.3 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.0349, allocations: 15.97 kB / 292.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.03492, allocations: 11.98 kB / 292.4 MB, free: 12.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.03506, allocations: 163.4 kB / 292.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03506, allocations: 0 / 292.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005028/0.03556, allocations: 107.7 kB / 292.6 MB, free: 12.66 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.0002442/0.03581, allocations: 127.2 kB / 292.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.03656, allocations: 423.3 kB / 293.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.03656, allocations: 0 / 293.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.03701, allocations: 317.2 kB / 293.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.03733, allocations: 19.98 kB / 293.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.03841, allocations: 0.5268 MB / 294 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.03858, allocations: 150.1 kB / 294.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.03867, allocations: 21.94 kB / 294.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.03871, allocations: 16.5 kB / 294.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03871, allocations: 4 kB / 294.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of Templates: time 0.00799/0.0467, allocations: 2.712 MB / 296.9 MB, free: 8.285 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.618580067995936]