Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.0008953/0.0008953, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009266/0.0009266, allocations: 165 kB / 24.56 MB, free: 4 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9488/0.9488, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.402e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1305/0.1305, allocations: 27.67 MB / 300.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.145, allocations: 7.185 MB / 307.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005814/0.1508, allocations: 311 kB / 308.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01428/0.1651, allocations: 14.06 MB / 322.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008902/0.174, allocations: 2.685 MB / 324.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.1784, allocations: 2.06 MB / 327 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01624/0.1947, allocations: 19.12 MB / 346.1 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03503/0.2297, allocations: 28.21 MB / 374.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/0.2457, allocations: 15.25 MB / 389.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01457/0.2603, allocations: 11.14 MB / 400.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005957/0.2663, allocations: 2.914 MB / 403.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007664/0.2739, allocations: 3.202 MB / 406.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005638/0.2796, allocations: 5.681 MB / 412.5 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01215/0.2917, allocations: 7.334 MB / 419.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2353/0.527, allocations: 18.33 MB / 438.1 MB, free: 67.46 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.527, allocations: 1.469 kB / 438.1 MB, free: 67.46 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.345e-06/0.527, allocations: 0 / 438.1 MB, free: 67.46 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009448/0.528, allocations: 0 / 438.1 MB, free: 67.46 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05344/0.5814, allocations: 23.91 MB / 462.1 MB, free: 61.97 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5815, allocations: 13.22 kB / 462.1 MB, free: 61.97 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0324/0.6139, allocations: 10.67 MB / 472.7 MB, free: 59.73 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0199/0.6337, allocations: 11.13 MB / 483.9 MB, free: 52.77 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.6351, allocations: 1.342 MB / 485.2 MB, free: 52.15 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006697/0.6418, allocations: 1.753 MB / 487 MB, free: 50.74 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05414/0.6959, allocations: 15.29 MB / 0.4905 GB, free: 35.36 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006947/0.6966, allocations: 12.89 kB / 0.4905 GB, free: 35.34 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005362/0.702, allocations: 0.731 MB / 0.4912 GB, free: 34.62 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006007/0.7026, allocations: 0.8454 MB / 0.492 GB, free: 33.78 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02933/0.7319, allocations: 7.294 MB / 0.4992 GB, free: 26.47 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/0.842, allocations: 71.44 MB / 0.5689 GB, free: 2.852 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/0.8581, allocations: 10.28 MB / 0.579 GB, free: 10.61 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/0.8633, allocations: 2.598 MB / 0.5815 GB, free: 8.008 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.8637, allocations: 176.4 kB / 0.5817 GB, free: 7.832 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.8638, allocations: 101.9 kB / 0.5818 GB, free: 7.719 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 9.247e-06/0.8638, allocations: 0 / 0.5818 GB, free: 7.719 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.2317/1.096, allocations: 8.46 MB / 0.59 GB, free: 123.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/1.096, allocations: 136.2 kB / 0.5902 GB, free: 123.4 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009194/1.105, allocations: 6.328 MB / 0.5963 GB, free: 123 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009211/1.106, allocations: 120.1 kB / 0.5965 GB, free: 123 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004129/1.11, allocations: 8.389 MB / 0.6046 GB, free: 119.1 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.112, allocations: 2.183 MB / 0.6068 GB, free: 117.8 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002151/1.114, allocations: 2.454 MB / 0.6092 GB, free: 117.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/1.114, allocations: 476.8 kB / 0.6096 GB, free: 117.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/1.116, allocations: 1.394 MB / 0.611 GB, free: 117.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.121, allocations: 8.598 MB / 0.6194 GB, free: 108.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008403/1.129, allocations: 11.04 MB / 0.6302 GB, free: 99.5 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002381/1.129, allocations: 45.53 kB / 0.6302 GB, free: 99.5 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01309/1.142, allocations: 8.98 MB / 0.639 GB, free: 98.75 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/1.142, allocations: 72.75 kB / 0.639 GB, free: 98.75 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001718/1.143, allocations: 156.9 kB / 0.6392 GB, free: 98.75 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/1.146, allocations: 1.605 MB / 0.6408 GB, free: 98.64 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004563/1.151, allocations: 2.359 MB / 0.6431 GB, free: 98.48 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/1.157, allocations: 7.289 MB / 0.6502 GB, free: 93.89 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/1.163, allocations: 1.352 MB / 0.6515 GB, free: 92.78 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.164, allocations: 0.5354 MB / 0.652 GB, free: 92.34 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003767/1.167, allocations: 0.8827 MB / 0.6529 GB, free: 91.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.169, allocations: 0.8097 MB / 0.6537 GB, free: 91.16 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006622/1.175, allocations: 5.856 MB / 0.6594 GB, free: 86.36 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004374/1.18, allocations: 3.405 MB / 0.6627 GB, free: 83.28 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.18, allocations: 16 kB / 0.6627 GB, free: 83.26 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/1.18, allocations: 34.23 kB / 0.6628 GB, free: 83.25 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02585/1.205, allocations: 18.28 MB / 0.6806 GB, free: 67.25 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.205, allocations: 8 kB / 0.6806 GB, free: 67.24 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/1.208, allocations: 1.013 MB / 0.6816 GB, free: 66.46 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00317/1.211, allocations: 1.416 MB / 0.683 GB, free: 65.45 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/1.211, allocations: 131.7 kB / 0.6831 GB, free: 65.33 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/1.217, allocations: 6.927 MB / 0.6899 GB, free: 58.86 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.217, allocations: 11.47 kB / 0.6899 GB, free: 58.85 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008076/1.225, allocations: 6.365 MB / 0.6961 GB, free: 52.14 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.227, allocations: 1.282 MB / 0.6974 GB, free: 50.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006809/1.228, allocations: 116 kB / 0.6975 GB, free: 50.75 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.23, allocations: 315.7 kB / 0.6978 GB, free: 50.44 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/1.23, allocations: 427 kB / 0.6982 GB, free: 50.02 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.23, allocations: 176 kB / 0.6984 GB, free: 49.85 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003166/1.234, allocations: 2.618 MB / 0.7009 GB, free: 47.26 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.234, allocations: 0 / 0.7009 GB, free: 47.26 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008218/1.242, allocations: 4.099 MB / 0.7049 GB, free: 43.15 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008384/1.243, allocations: 338.2 kB / 0.7052 GB, free: 42.89 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00817/1.251, allocations: 6.551 MB / 0.7116 GB, free: 36.75 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.251, allocations: 1.938 kB / 0.7116 GB, free: 36.75 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.254, allocations: 2.748 MB / 0.7143 GB, free: 34.08 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/1.258, allocations: 1.499 MB / 0.7158 GB, free: 32.67 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03197/1.29, allocations: 24.62 MB / 0.7398 GB, free: 7.738 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003974/1.294, allocations: 4.904 MB / 0.7446 GB, free: 2.797 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.14/1.434, allocations: 3.195 MB / 0.7477 GB, free: 118.6 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/1.435, allocations: 0.5377 MB / 0.7483 GB, free: 118.6 MB / 442.8 MB Notification: Performance of SimCode: time 1.664e-06/1.435, allocations: 1.781 kB / 0.7483 GB, free: 118.6 MB / 442.8 MB Notification: Performance of Templates: time 0.1143/1.549, allocations: 94.52 MB / 0.8406 GB, free: 52.52 MB / 442.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.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: 6.073868293315172]