Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001536/0.001536, allocations: 75.75 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.00135/0.00135, allocations: 170.3 kB / 25.33 MB, free: 8.598 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 1.02/1.02, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.366e-05, allocations: 2.312 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02482/0.02485, allocations: 28.53 MB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.04161, allocations: 7.437 MB / 287 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007446/0.04906, allocations: 262.6 kB / 287.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01949/0.06855, allocations: 14.13 MB / 301.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.08485, allocations: 3.032 MB / 304.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008296/0.09314, allocations: 2.112 MB / 306.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02581/0.119, allocations: 19.8 MB / 326.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3483/0.4672, allocations: 28.43 MB / 354.8 MB, free: 30.07 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02656/0.4938, allocations: 15.74 MB / 370.5 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01854/0.5123, allocations: 11.47 MB / 382 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008477/0.5208, allocations: 2.976 MB / 385 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00977/0.5306, allocations: 3.242 MB / 388.2 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00554/0.5361, allocations: 5.986 MB / 394.2 MB, free: 27.86 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.5467, allocations: 7.599 MB / 401.8 MB, free: 24.85 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.5634, allocations: 18.97 MB / 420.8 MB, free: 8.828 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.5634, allocations: 0 / 420.8 MB, free: 8.828 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5634, allocations: 4.812 kB / 420.8 MB, free: 8.824 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0008691/0.5642, allocations: 3.562 kB / 420.8 MB, free: 8.824 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.04207/0.6063, allocations: 24.88 MB / 445.6 MB, free: 28 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6064, allocations: 15.98 kB / 445.7 MB, free: 12 kB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03815/0.6445, allocations: 15.35 MB / 461 MB, free: 0.7852 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/0.6637, allocations: 9.749 MB / 470.8 MB, free: 7.461 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/0.6648, allocations: 1.399 MB / 472.2 MB, free: 6.078 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006133/0.6709, allocations: 1.848 MB / 474 MB, free: 4.25 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03422/0.7052, allocations: 16.31 MB / 490.3 MB, free: 3.848 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/0.7055, allocations: 11.95 kB / 490.3 MB, free: 3.836 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/0.7071, allocations: 0.7606 MB / 491.1 MB, free: 3.09 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006936/0.7078, allocations: 0.9703 MB / 492.1 MB, free: 2.117 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.7288, allocations: 8.455 MB / 0.4888 GB, free: 9.637 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4158/1.145, allocations: 74.78 MB / 0.5618 GB, free: 67.68 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/1.159, allocations: 14.49 MB / 0.576 GB, free: 64.28 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.163, allocations: 2.836 MB / 0.5787 GB, free: 61.69 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/1.178, allocations: 9.263 MB / 0.5878 GB, free: 52.84 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.946e-05/1.178, allocations: 88.19 kB / 0.5879 GB, free: 52.74 MB / 410.9 MB Notification: Performance of pre-optimization done (n=427): time 7.013e-06/1.178, allocations: 0 / 0.5879 GB, free: 52.74 MB / 410.9 MB Notification: Performance of matching and sorting (n=427): time 0.01815/1.196, allocations: 7.996 MB / 0.5957 GB, free: 44.77 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.196, allocations: 120.5 kB / 0.5958 GB, free: 44.63 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.207, allocations: 7.265 MB / 0.6029 GB, free: 37.63 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00079/1.208, allocations: 97.7 kB / 0.603 GB, free: 37.53 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.004485/1.212, allocations: 9.383 MB / 0.6121 GB, free: 29.61 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.214, allocations: 1.685 MB / 0.6138 GB, free: 28 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/1.216, allocations: 2.611 MB / 0.6163 GB, free: 25.38 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/1.216, allocations: 480.7 kB / 0.6168 GB, free: 24.91 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/1.218, allocations: 1.407 MB / 0.6182 GB, free: 23.5 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004425/1.223, allocations: 10.06 MB / 0.628 GB, free: 9.75 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.234, allocations: 12.49 MB / 0.6402 GB, free: 10.28 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002424/1.234, allocations: 56 kB / 0.6402 GB, free: 10.22 MB / 426.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01665/1.251, allocations: 9.697 MB / 0.6497 GB, free: 1.809 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.251, allocations: 88 kB / 0.6498 GB, free: 1.723 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002511/1.251, allocations: 200 kB / 0.65 GB, free: 1.527 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1896/1.441, allocations: 1.646 MB / 0.6516 GB, free: 92.02 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006803/1.447, allocations: 2.505 MB / 0.654 GB, free: 92.02 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008219/1.456, allocations: 7.276 MB / 0.6611 GB, free: 90 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/1.464, allocations: 1.566 MB / 0.6627 GB, free: 90 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001856/1.465, allocations: 0.6051 MB / 0.6633 GB, free: 90 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.006613/1.472, allocations: 0.957 MB / 0.6642 GB, free: 89.84 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.474, allocations: 0.7767 MB / 0.665 GB, free: 89.84 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/1.48, allocations: 4.269 MB / 0.6691 GB, free: 89.57 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003967/1.484, allocations: 2.833 MB / 0.6719 GB, free: 89.39 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.484, allocations: 13.12 kB / 0.6719 GB, free: 89.39 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/1.484, allocations: 21.94 kB / 0.6719 GB, free: 89.39 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03265/1.517, allocations: 16.1 MB / 0.6876 GB, free: 88.5 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.517, allocations: 0 / 0.6876 GB, free: 88.5 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.519, allocations: 0.7636 MB / 0.6884 GB, free: 88.5 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/1.522, allocations: 1.4 MB / 0.6898 GB, free: 88.43 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/1.522, allocations: 89.23 kB / 0.6898 GB, free: 88.43 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007401/1.53, allocations: 6.924 MB / 0.6966 GB, free: 86.19 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.53, allocations: 7.781 kB / 0.6966 GB, free: 86.19 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00762/1.537, allocations: 5.062 MB / 0.7016 GB, free: 83.53 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.54, allocations: 1.161 MB / 0.7027 GB, free: 82.81 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007129/1.541, allocations: 74 kB / 0.7028 GB, free: 82.8 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.542, allocations: 302.6 kB / 0.7031 GB, free: 82.66 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/1.543, allocations: 322.5 kB / 0.7034 GB, free: 82.54 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/1.543, allocations: 123.4 kB / 0.7035 GB, free: 82.45 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.004108/1.547, allocations: 2.989 MB / 0.7064 GB, free: 80.68 MB / 426.9 MB Notification: Performance of sort global known variables: time 4.21e-07/1.547, allocations: 0 / 0.7064 GB, free: 80.68 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.01022/1.557, allocations: 4.25 MB / 0.7105 GB, free: 77.19 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.0008082/1.558, allocations: 263.1 kB / 0.7108 GB, free: 77.05 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.568, allocations: 6.542 MB / 0.7172 GB, free: 72.62 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.568, allocations: 0 / 0.7172 GB, free: 72.62 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002819/1.571, allocations: 2.332 MB / 0.7195 GB, free: 70.64 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.575, allocations: 1.479 MB / 0.7209 GB, free: 69.42 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/1.611, allocations: 25.44 MB / 0.7458 GB, free: 46.11 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005876/1.617, allocations: 5.039 MB / 0.7507 GB, free: 41.35 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.005881/1.623, allocations: 3.415 MB / 0.754 GB, free: 37.92 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.624, allocations: 0.4965 MB / 0.7545 GB, free: 37.43 MB / 426.9 MB Notification: Performance of SimCode: time 2.545e-06/1.624, allocations: 0 / 0.7545 GB, free: 37.43 MB / 426.9 MB Notification: Performance of Templates: time 0.2587/1.883, allocations: 83.65 MB / 0.8362 GB, free: 125.8 MB / 458.9 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.851285462733358]