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.001182/0.001182, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.001355/0.001355, allocations: 145.7 kB / 24.89 MB, free: 8.742 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.8531/0.8531, allocations: 173.4 MB / 201.5 MB, free: 8.27 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.022e-06/1.022e-06, allocations: 0 / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.466e-05, allocations: 6.094 kB / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002606/0.002621, allocations: 2.807 MB / 271.3 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003898, allocations: 1.15 MB / 272.4 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004009, allocations: 8 kB / 272.4 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.004847, allocations: 0.6528 MB / 273.1 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.005069, allocations: 137.5 kB / 273.2 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.005799, allocations: 0.6578 MB / 273.9 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.006072, allocations: 314.4 kB / 274.2 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.006342, allocations: 249.7 kB / 274.4 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.006504, allocations: 187.6 kB / 274.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006644, allocations: 135.7 kB / 274.8 MB, free: 3.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.006671, allocations: 24 kB / 274.8 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.006878, allocations: 171.7 kB / 274.9 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.006916, allocations: 67.75 kB / 275 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.006981, allocations: 99.75 kB / 275.1 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.007312, allocations: 374.7 kB / 275.5 MB, free: 2.797 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.007313, allocations: 0 / 275.5 MB, free: 2.797 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007314, allocations: 0 / 275.5 MB, free: 2.797 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.007318, allocations: 0 / 275.5 MB, free: 2.797 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.000837/0.008155, allocations: 0.6676 MB / 276.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.614e-05/0.008181, allocations: 12.03 kB / 276.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/0.008623, allocations: 168.7 kB / 276.3 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.008779, allocations: 169.2 kB / 276.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.008795, allocations: 29.03 kB / 276.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.008829, allocations: 32.38 kB / 276.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.009031, allocations: 237.5 kB / 276.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.009043, allocations: 4.188 kB / 276.8 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.009061, allocations: 19.94 kB / 276.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.009069, allocations: 8 kB / 276.8 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.009172, allocations: 96.45 kB / 276.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.01003, allocations: 0.8295 MB / 277.7 MB, free: 444 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.01024, allocations: 182.4 kB / 277.9 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.01029, allocations: 52.78 kB / 278 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.01035, allocations: 11.98 kB / 278 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01037, allocations: 42.5 kB / 278 MB, free: 132 kB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.01037, allocations: 0 / 278 MB, free: 132 kB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004961/0.01087, allocations: 282.4 kB / 278.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.01089, allocations: 59.34 kB / 278.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.01101, allocations: 169.3 kB / 278.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.01102, allocations: 29.7 kB / 278.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.01108, allocations: 180.3 kB / 278.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.01112, allocations: 83.27 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.01117, allocations: 65.89 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.01124, allocations: 326.8 kB / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.01127, allocations: 28.55 kB / 279.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.01133, allocations: 80.2 kB / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01143, allocations: 149.9 kB / 279.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01144, allocations: 0 / 279.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002089/0.01164, allocations: 208.4 kB / 279.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.01166, allocations: 4 kB / 279.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01166, allocations: 16.2 kB / 279.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.01184, allocations: 60.75 kB / 279.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.01192, allocations: 47.86 kB / 279.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008705/0.01279, allocations: 1.579 MB / 281.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.01285, allocations: 27.78 kB / 281.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01286, allocations: 11.98 kB / 281.4 MB, free: 12.55 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 7.165e-05/0.01293, allocations: 129.7 kB / 281.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.01295, allocations: 20.02 kB / 281.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.01316, allocations: 173.1 kB / 281.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01316, allocations: 4 kB / 281.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01317, allocations: 0 / 281.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01317, allocations: 7.938 kB / 281.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.01356, allocations: 411.4 kB / 282.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01356, allocations: 0 / 282.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.01362, allocations: 23.98 kB / 282.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.01376, allocations: 69.02 kB / 282.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.01377, allocations: 4 kB / 282.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008235/0.01459, allocations: 1.58 MB / 283.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01459, allocations: 7.984 kB / 283.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.01482, allocations: 307.2 kB / 284.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.01485, allocations: 19.84 kB / 284.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.01486, allocations: 4 kB / 284.1 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.01491, allocations: 8 kB / 284.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.01493, allocations: 23.95 kB / 284.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.01494, allocations: 0 / 284.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.636e-05/0.01496, allocations: 35.27 kB / 284.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01496, allocations: 0 / 284.2 MB, free: 9.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01522, allocations: 99.73 kB / 284.3 MB, free: 9.5 MB / 266.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.0001401/0.01536, allocations: 112.4 kB / 284.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.01563, allocations: 273.2 kB / 284.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.01564, allocations: 0 / 284.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.01577, allocations: 215.2 kB / 284.9 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.01592, allocations: 33.92 kB / 284.9 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.0167, allocations: 0.5233 MB / 285.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.0168, allocations: 84.31 kB / 285.5 MB, free: 8.184 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.01686, allocations: 21.95 kB / 285.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.01692, allocations: 67.36 kB / 285.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01692, allocations: 0 / 285.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of Templates: time 0.004627/0.02155, allocations: 2.881 MB / 288.5 MB, free: 5.246 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] 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","",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.5593844703398645]