Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.0009768/0.0009768, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001286/0.001286, allocations: 160.2 kB / 24.91 MB, free: 8.262 MB / 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 0.9352/0.9352, allocations: 177 MB / 205.2 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.396e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1438/0.1438, allocations: 26.56 MB / 300 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.1585, allocations: 7.63 MB / 307.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005374/0.1639, allocations: 310.8 kB / 307.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.1765, allocations: 13.9 MB / 321.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.1826, allocations: 2.675 MB / 324.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.1856, allocations: 2.054 MB / 326.6 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.1984, allocations: 19.12 MB / 345.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03738/0.2358, allocations: 29 MB / 374.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03473/0.2705, allocations: 15.37 MB / 390.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03285/0.3034, allocations: 11.35 MB / 401.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005781/0.3092, allocations: 2.922 MB / 404.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/0.315, allocations: 3.222 MB / 407.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.3183, allocations: 5.677 MB / 413.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.3299, allocations: 7.334 MB / 420.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2319/0.5618, allocations: 18.33 MB / 438.9 MB, free: 68.7 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.5618, allocations: 1.125 kB / 438.9 MB, free: 68.7 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5618, allocations: 0 / 438.9 MB, free: 68.7 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008834/0.5627, allocations: 0 / 438.9 MB, free: 68.7 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.04788/0.6106, allocations: 20.91 MB / 459.8 MB, free: 63.4 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.6106, allocations: 11.52 kB / 459.8 MB, free: 63.4 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03388/0.6445, allocations: 8.524 MB / 468.3 MB, free: 63.24 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/0.6606, allocations: 5.987 MB / 474.3 MB, free: 61.14 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/0.6616, allocations: 1.344 MB / 475.7 MB, free: 60.54 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006601/0.6682, allocations: 1.759 MB / 477.4 MB, free: 59.95 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/0.7083, allocations: 14.44 MB / 491.9 MB, free: 47.51 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000511/0.7088, allocations: 17.7 kB / 491.9 MB, free: 47.5 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005115/0.7139, allocations: 0.7257 MB / 492.6 MB, free: 46.78 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004608/0.7144, allocations: 0.8452 MB / 493.5 MB, free: 45.94 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.7325, allocations: 6.951 MB / 0.4887 GB, free: 38.96 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07293/0.8054, allocations: 53.44 MB / 0.5409 GB, free: 3.207 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.8135, allocations: 6.617 MB / 0.5473 GB, free: 12.79 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.8162, allocations: 2.103 MB / 0.5494 GB, free: 10.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.8165, allocations: 176.4 kB / 0.5495 GB, free: 10.57 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/0.8165, allocations: 99.08 kB / 0.5496 GB, free: 10.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=577): time 7.253e-06/0.8165, allocations: 4 kB / 0.5496 GB, free: 10.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=577): time 0.01341/0.8299, allocations: 6.62 MB / 0.5561 GB, free: 3.848 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.83, allocations: 141.5 kB / 0.5562 GB, free: 3.691 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.8339, allocations: 4.157 MB / 0.5603 GB, free: 412 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.8342, allocations: 117.7 kB / 0.5604 GB, free: 288 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003149/0.8374, allocations: 7.339 MB / 0.5676 GB, free: 9.156 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.8387, allocations: 2.077 MB / 0.5696 GB, free: 7.195 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/0.8407, allocations: 1.925 MB / 0.5715 GB, free: 5.465 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.8408, allocations: 301.1 kB / 0.5718 GB, free: 5.168 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.8426, allocations: 1.452 MB / 0.5732 GB, free: 3.707 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.14/0.9827, allocations: 5.724 MB / 0.5788 GB, free: 111.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007603/0.9903, allocations: 8.117 MB / 0.5867 GB, free: 105.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002195/0.9905, allocations: 46.31 kB / 0.5868 GB, free: 105.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.009896/1, allocations: 6.74 MB / 0.5933 GB, free: 105.1 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/1, allocations: 73.16 kB / 0.5934 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/1.001, allocations: 156.2 kB / 0.5936 GB, free: 105.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002977/1.004, allocations: 1.51 MB / 0.595 GB, free: 105 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004245/1.008, allocations: 2.287 MB / 0.5973 GB, free: 105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/1.013, allocations: 5.559 MB / 0.6027 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.018, allocations: 1.182 MB / 0.6039 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008762/1.019, allocations: 448.8 kB / 0.6043 GB, free: 103.6 MB / 426.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.003276/1.022, allocations: 0.8384 MB / 0.6051 GB, free: 103.5 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008875/1.023, allocations: 0.5359 MB / 0.6056 GB, free: 103.5 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/1.028, allocations: 4.411 MB / 0.6099 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002668/1.031, allocations: 2.171 MB / 0.612 GB, free: 102.7 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.031, allocations: 12 kB / 0.6121 GB, free: 102.7 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-05/1.031, allocations: 33.33 kB / 0.6121 GB, free: 102.7 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.048, allocations: 12.9 MB / 0.6247 GB, free: 95.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/1.048, allocations: 10.16 kB / 0.6247 GB, free: 95.47 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.051, allocations: 0.9018 MB / 0.6256 GB, free: 94.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/1.053, allocations: 1.311 MB / 0.6269 GB, free: 93.88 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.054, allocations: 121.6 kB / 0.627 GB, free: 93.85 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/1.058, allocations: 5.237 MB / 0.6321 GB, free: 89.63 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/1.058, allocations: 22.38 kB / 0.6321 GB, free: 89.61 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/1.063, allocations: 4.536 MB / 0.6365 GB, free: 85.66 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.065, allocations: 0.8327 MB / 0.6374 GB, free: 85.11 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004927/1.065, allocations: 118 kB / 0.6375 GB, free: 84.99 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.066, allocations: 144 kB / 0.6376 GB, free: 84.85 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/1.067, allocations: 414.2 kB / 0.638 GB, free: 84.45 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.067, allocations: 120 kB / 0.6381 GB, free: 84.33 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001616/1.069, allocations: 1.83 MB / 0.6399 GB, free: 82.75 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.069, allocations: 0 / 0.6399 GB, free: 82.75 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007223/1.076, allocations: 4.113 MB / 0.6439 GB, free: 78.62 MB / 426.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.0006668/1.077, allocations: 301.6 kB / 0.6442 GB, free: 78.39 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00585/1.082, allocations: 5.144 MB / 0.6492 GB, free: 73.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002113/1.083, allocations: 126.8 kB / 0.6494 GB, free: 73.67 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/1.085, allocations: 2.18 MB / 0.6515 GB, free: 71.63 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/1.091, allocations: 1.482 MB / 0.6529 GB, free: 70.25 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/1.131, allocations: 24.19 MB / 0.6766 GB, free: 45.89 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/1.134, allocations: 3.359 MB / 0.6798 GB, free: 42.5 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003101/1.137, allocations: 1.12 MB / 0.6809 GB, free: 41.37 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/1.14, allocations: 1.389 MB / 0.6823 GB, free: 39.96 MB / 426.8 MB Notification: Performance of SimCode: time 1.764e-06/1.14, allocations: 0 / 0.6823 GB, free: 39.96 MB / 426.8 MB Notification: Performance of Templates: time 0.2301/1.37, allocations: 99.52 MB / 0.7795 GB, free: 106 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 5.676450600847602]