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.001281/0.001281, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001101/0.001101, allocations: 167.6 kB / 25 MB, free: 8.871 MB / 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 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.613 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 1.924e-06/1.924e-06, allocations: 0 / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.731e-05, allocations: 2.312 kB / 273.1 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1417/0.1418, allocations: 27.5 MB / 300.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.1602, allocations: 7.176 MB / 307.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007653/0.1678, allocations: 315.5 kB / 308.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04542/0.2133, allocations: 14.02 MB / 322.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03049/0.2437, allocations: 2.685 MB / 324.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.2494, allocations: 2.051 MB / 326.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.2675, allocations: 19.1 MB / 345.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0439/0.3114, allocations: 28.21 MB / 374.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02351/0.3349, allocations: 15.26 MB / 389.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01697/0.3519, allocations: 10.93 MB / 400.3 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007021/0.3589, allocations: 2.918 MB / 403.2 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009216/0.3681, allocations: 3.206 MB / 406.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007692/0.3758, allocations: 5.674 MB / 412.1 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.3879, allocations: 7.338 MB / 419.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2516/0.6395, allocations: 18.33 MB / 437.8 MB, free: 67.3 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6395, allocations: 0 / 437.8 MB, free: 67.3 MB / 378.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.6395, allocations: 0 / 437.8 MB, free: 67.3 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006853/0.6402, allocations: 0.8438 kB / 437.8 MB, free: 67.3 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.03917/0.6793, allocations: 23.9 MB / 461.7 MB, free: 61.81 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.6794, allocations: 7.719 kB / 461.7 MB, free: 61.81 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/0.7036, allocations: 10.68 MB / 472.4 MB, free: 60.08 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.7203, allocations: 11.13 MB / 483.5 MB, free: 53.11 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006306/0.7209, allocations: 1.342 MB / 484.8 MB, free: 52.5 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003133/0.724, allocations: 1.758 MB / 486.6 MB, free: 50.98 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/0.7509, allocations: 15.29 MB / 0.4901 GB, free: 35.59 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000274/0.7512, allocations: 19.89 kB / 0.4901 GB, free: 35.57 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.7524, allocations: 0.7262 MB / 0.4908 GB, free: 34.86 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004178/0.7528, allocations: 0.8454 MB / 0.4917 GB, free: 34.01 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.7692, allocations: 7.286 MB / 0.4988 GB, free: 26.71 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07526/0.8445, allocations: 71.45 MB / 0.5686 GB, free: 3.09 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.8552, allocations: 10.28 MB / 0.5786 GB, free: 10.85 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.8588, allocations: 2.6 MB / 0.5811 GB, free: 8.246 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.8591, allocations: 176.4 kB / 0.5813 GB, free: 8.07 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.8592, allocations: 101.9 kB / 0.5814 GB, free: 7.957 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 6.963e-06/0.8592, allocations: 0 / 0.5814 GB, free: 7.957 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.1419/1.001, allocations: 8.45 MB / 0.5897 GB, free: 146.2 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/1.001, allocations: 137.4 kB / 0.5898 GB, free: 146.1 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008271/1.009, allocations: 6.33 MB / 0.596 GB, free: 145.6 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007507/1.01, allocations: 119.4 kB / 0.5961 GB, free: 145.6 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00444/1.015, allocations: 8.393 MB / 0.6043 GB, free: 141.5 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001729/1.016, allocations: 2.18 MB / 0.6064 GB, free: 140.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/1.019, allocations: 2.446 MB / 0.6088 GB, free: 140 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/1.019, allocations: 481.1 kB / 0.6093 GB, free: 139.5 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.021, allocations: 1.399 MB / 0.6106 GB, free: 139.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004296/1.026, allocations: 8.597 MB / 0.619 GB, free: 130.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/1.036, allocations: 11.03 MB / 0.6298 GB, free: 121.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002587/1.037, allocations: 50.94 kB / 0.6298 GB, free: 121.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02223/1.059, allocations: 8.968 MB / 0.6386 GB, free: 119.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.059, allocations: 73.69 kB / 0.6387 GB, free: 119.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/1.059, allocations: 158.9 kB / 0.6388 GB, free: 119.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/1.063, allocations: 1.608 MB / 0.6404 GB, free: 119.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005234/1.068, allocations: 2.363 MB / 0.6427 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/1.076, allocations: 7.285 MB / 0.6498 GB, free: 116.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/1.082, allocations: 1.355 MB / 0.6511 GB, free: 115.4 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.084, allocations: 0.5346 MB / 0.6517 GB, free: 114.9 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.004873/1.089, allocations: 0.8846 MB / 0.6525 GB, free: 114.3 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.09, allocations: 0.8104 MB / 0.6533 GB, free: 113.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007164/1.097, allocations: 5.856 MB / 0.659 GB, free: 109.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004537/1.101, allocations: 3.41 MB / 0.6624 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.101, allocations: 12 kB / 0.6624 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/1.101, allocations: 31.47 kB / 0.6624 GB, free: 106 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/1.129, allocations: 18.28 MB / 0.6803 GB, free: 89.81 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/1.129, allocations: 8 kB / 0.6803 GB, free: 89.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.131, allocations: 1.016 MB / 0.6813 GB, free: 88.97 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003262/1.135, allocations: 1.403 MB / 0.6826 GB, free: 87.96 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003897/1.135, allocations: 143.6 kB / 0.6828 GB, free: 87.84 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006319/1.141, allocations: 6.923 MB / 0.6895 GB, free: 81.46 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.141, allocations: 15.94 kB / 0.6895 GB, free: 81.45 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008434/1.15, allocations: 6.359 MB / 0.6958 GB, free: 75.25 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.152, allocations: 1.279 MB / 0.697 GB, free: 73.96 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005831/1.153, allocations: 112 kB / 0.6971 GB, free: 73.85 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.154, allocations: 319.7 kB / 0.6974 GB, free: 73.54 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/1.155, allocations: 432.1 kB / 0.6978 GB, free: 73.11 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.155, allocations: 172 kB / 0.698 GB, free: 72.95 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003245/1.158, allocations: 2.614 MB / 0.7005 GB, free: 70.36 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.4e-07/1.158, allocations: 0 / 0.7005 GB, free: 70.36 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009593/1.168, allocations: 4.102 MB / 0.7046 GB, free: 66.24 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.0009772/1.169, allocations: 342.4 kB / 0.7049 GB, free: 65.92 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009037/1.178, allocations: 6.552 MB / 0.7113 GB, free: 59.32 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.178, allocations: 1 kB / 0.7113 GB, free: 59.32 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002972/1.181, allocations: 2.754 MB / 0.714 GB, free: 56.52 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.186, allocations: 1.492 MB / 0.7154 GB, free: 55.12 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0371/1.223, allocations: 24.61 MB / 0.7395 GB, free: 30.17 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.227, allocations: 4.905 MB / 0.7442 GB, free: 25.23 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005463/1.233, allocations: 3.195 MB / 0.7474 GB, free: 22.02 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.234, allocations: 0.5433 MB / 0.7479 GB, free: 21.48 MB / 442.8 MB Notification: Performance of SimCode: time 1.984e-06/1.234, allocations: 0 / 0.7479 GB, free: 21.48 MB / 442.8 MB Notification: Performance of Templates: time 0.2176/1.452, allocations: 90.24 MB / 0.836 GB, free: 104.7 MB / 442.8 MB " [Timeout remaining time 659] 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.093966495944187]