Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001023/0.001023, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002504, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009237/0.0009237, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002313, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8509/0.8509, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1326/0.9835, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.145e-05, allocations: 2.312 kB / 239.7 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02354/0.02357, allocations: 26.73 MB / 266.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.0361, allocations: 7.631 MB / 274.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.03951, allocations: 310.4 kB / 274.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01268/0.0522, allocations: 13.94 MB / 288.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008693/0.06089, allocations: 2.81 MB / 291.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.06502, allocations: 1.854 MB / 293 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02061/0.08563, allocations: 19.07 MB / 312.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2361/0.3217, allocations: 28.43 MB / 340.5 MB, free: 22.55 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01777/0.3395, allocations: 15.69 MB / 356.2 MB, free: 22.47 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01146/0.351, allocations: 11.32 MB / 367.5 MB, free: 21.52 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005488/0.3565, allocations: 2.919 MB / 370.4 MB, free: 21.52 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.3631, allocations: 3.192 MB / 373.6 MB, free: 18.51 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003587/0.3667, allocations: 4.477 MB / 378.1 MB, free: 14.74 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007843/0.3746, allocations: 6.125 MB / 384.2 MB, free: 9.008 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.3897, allocations: 17.34 MB / 401.6 MB, free: 9.07 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-05/0.3897, allocations: 0.75 kB / 401.6 MB, free: 9.07 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3897, allocations: 0 / 401.6 MB, free: 9.07 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.0005954/0.3903, allocations: 0.8125 kB / 401.6 MB, free: 9.07 MB / 346.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.03245/0.4227, allocations: 24.36 MB / 425.9 MB, free: 1.773 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4228, allocations: 12.03 kB / 425.9 MB, free: 1.762 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02047/0.4432, allocations: 8.598 MB / 434.5 MB, free: 9.438 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.4539, allocations: 5.961 MB / 440.5 MB, free: 3.863 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000743/0.4547, allocations: 1.343 MB / 441.8 MB, free: 2.527 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/0.4572, allocations: 1.758 MB / 443.6 MB, free: 0.7852 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/0.4762, allocations: 14.4 MB / 458 MB, free: 3.035 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.4764, allocations: 18.48 kB / 458 MB, free: 3.02 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.4775, allocations: 0.7263 MB / 458.7 MB, free: 2.305 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004873/0.478, allocations: 0.8259 MB / 459.6 MB, free: 1.477 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.4881, allocations: 6.922 MB / 466.5 MB, free: 10.53 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1669/0.6551, allocations: 53.71 MB / 0.508 GB, free: 73.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006213/0.6613, allocations: 6.648 MB / 0.5145 GB, free: 72.69 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.6635, allocations: 2.105 MB / 0.5165 GB, free: 72.56 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.6638, allocations: 142.4 kB / 0.5167 GB, free: 72.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.6638, allocations: 99.48 kB / 0.5168 GB, free: 72.5 MB / 410.8 MB Notification: Performance of pre-optimization done (n=577): time 8.085e-06/0.6638, allocations: 0 / 0.5168 GB, free: 72.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=577): time 0.01169/0.6755, allocations: 6.614 MB / 0.5232 GB, free: 71.83 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6755, allocations: 111 kB / 0.5233 GB, free: 71.76 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.6781, allocations: 4.148 MB / 0.5274 GB, free: 70.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.6783, allocations: 118.4 kB / 0.5275 GB, free: 70.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.6799, allocations: 7.338 MB / 0.5347 GB, free: 65 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/0.6806, allocations: 2.083 MB / 0.5367 GB, free: 63.42 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.6821, allocations: 1.912 MB / 0.5386 GB, free: 62.57 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.449e-05/0.6821, allocations: 305.1 kB / 0.5389 GB, free: 62.27 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.6835, allocations: 1.446 MB / 0.5403 GB, free: 61.17 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.6856, allocations: 5.722 MB / 0.5459 GB, free: 53.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/0.6903, allocations: 8.574 MB / 0.5542 GB, free: 43.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.238e-05/0.6903, allocations: 48 kB / 0.5543 GB, free: 43.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.006064/0.6964, allocations: 6.717 MB / 0.5608 GB, free: 38.56 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.6965, allocations: 72 kB / 0.5609 GB, free: 38.49 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.086e-05/0.6965, allocations: 160 kB / 0.5611 GB, free: 38.33 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.6992, allocations: 1.542 MB / 0.5626 GB, free: 36.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/0.7029, allocations: 2.445 MB / 0.565 GB, free: 34.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.7074, allocations: 5.569 MB / 0.5704 GB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.7103, allocations: 1.187 MB / 0.5716 GB, free: 28.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.7106, allocations: 448 kB / 0.572 GB, free: 27.87 MB / 410.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.002296/0.7129, allocations: 0.8396 MB / 0.5728 GB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/0.7135, allocations: 0.5268 MB / 0.5733 GB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.7175, allocations: 4.438 MB / 0.5777 GB, free: 22.47 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002132/0.7196, allocations: 2.16 MB / 0.5798 GB, free: 20.31 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7196, allocations: 16 kB / 0.5798 GB, free: 20.29 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.7196, allocations: 31.89 kB / 0.5798 GB, free: 20.26 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.7319, allocations: 12.88 MB / 0.5924 GB, free: 9.148 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.7319, allocations: 8.969 kB / 0.5924 GB, free: 9.141 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.7339, allocations: 0.9719 MB / 0.5933 GB, free: 8.219 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/0.7348, allocations: 0.8223 MB / 0.5941 GB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.7374, allocations: 1.344 MB / 0.5955 GB, free: 6.062 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.7376, allocations: 112 kB / 0.5956 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004214/0.7418, allocations: 5.17 MB / 0.6006 GB, free: 0.832 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7418, allocations: 19.47 kB / 0.6006 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004825/0.7466, allocations: 4.523 MB / 0.605 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/0.7471, allocations: 114.6 kB / 0.6052 GB, free: 12.01 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.7483, allocations: 148 kB / 0.6053 GB, free: 11.86 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/0.7487, allocations: 419.8 kB / 0.6057 GB, free: 11.45 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/0.7489, allocations: 116 kB / 0.6058 GB, free: 11.34 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001727/0.7507, allocations: 1.831 MB / 0.6076 GB, free: 9.762 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7507, allocations: 0 / 0.6076 GB, free: 9.762 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006615/0.7573, allocations: 4.102 MB / 0.6116 GB, free: 5.645 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.0005877/0.7579, allocations: 326.6 kB / 0.6119 GB, free: 5.395 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005383/0.7632, allocations: 5.286 MB / 0.6171 GB, free: 0.7109 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002418/0.7635, allocations: 170.4 kB / 0.6172 GB, free: 0.5312 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1076/0.8711, allocations: 4.799 MB / 0.6219 GB, free: 111 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005757/0.8769, allocations: 11.53 MB / 0.6332 GB, free: 100.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08398/0.9608, allocations: 24.8 MB / 0.6574 GB, free: 91.28 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002958/0.9638, allocations: 3.451 MB / 0.6608 GB, free: 90.82 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002624/0.9664, allocations: 1.042 MB / 0.6618 GB, free: 90.58 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.9683, allocations: 1.249 MB / 0.663 GB, free: 90.49 MB / 426.8 MB Notification: Performance of SimCode: time 1.463e-06/0.9683, allocations: 0 / 0.663 GB, free: 90.49 MB / 426.8 MB Notification: Performance of Templates: time 0.113/1.081, allocations: 98.65 MB / 0.7594 GB, free: 3.297 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7707620318979025]