Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001033/0.001033, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001106/0.001106, allocations: 161 kB / 24.56 MB, free: 16 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.9809/0.9809, allocations: 177.1 MB / 205 MB, free: 5.297 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.964e-05, allocations: 2.312 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007262/0.007291, allocations: 7.676 MB / 280.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.0118, allocations: 2.699 MB / 283.4 MB, free: 6.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01292, allocations: 87.38 kB / 283.5 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.01408, allocations: 0.5822 MB / 284 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.01591, allocations: 0.7995 MB / 284.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.01675, allocations: 435.2 kB / 285.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.01979, allocations: 3.388 MB / 288.6 MB, free: 1.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1229/0.1427, allocations: 1.957 MB / 290.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.1474, allocations: 2.911 MB / 293.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.1505, allocations: 1.872 MB / 295.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.152, allocations: 452.1 kB / 295.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.1535, allocations: 0.6442 MB / 296.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009806/0.1545, allocations: 1.26 MB / 297.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00248/0.1569, allocations: 1.346 MB / 299.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.1606, allocations: 3.298 MB / 302.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1606, allocations: 0 / 302.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1606, allocations: 2.469 kB / 302.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.932e-05/0.1607, allocations: 0 / 302.4 MB, free: 14.12 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.004434/0.1651, allocations: 3.958 MB / 306.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1652, allocations: 7.594 kB / 306.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1662, allocations: 0.6796 MB / 307 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.1682, allocations: 1.996 MB / 309 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/0.1683, allocations: 216.5 kB / 309.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.1685, allocations: 290.6 kB / 309.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.1715, allocations: 2.476 MB / 312 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.1715, allocations: 7.938 kB / 312 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.1717, allocations: 120.7 kB / 312.1 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.1718, allocations: 142.3 kB / 312.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.1735, allocations: 0.9933 MB / 313.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008558/0.1821, allocations: 8.197 MB / 321.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1833, allocations: 0.89 MB / 322.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.1845, allocations: 0.8634 MB / 323.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.1847, allocations: 56.97 kB / 323.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.1848, allocations: 53.95 kB / 323.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.097e-06/0.1848, allocations: 0 / 323.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004775/0.1895, allocations: 2.702 MB / 326 MB, free: 11.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1896, allocations: 94.42 kB / 326.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.1911, allocations: 1.386 MB / 327.5 MB, free: 9.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.1911, allocations: 48.83 kB / 327.5 MB, free: 9.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.1919, allocations: 1.464 MB / 329 MB, free: 8.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.1922, allocations: 479.2 kB / 329.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/0.1925, allocations: 289 kB / 329.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1926, allocations: 480.8 kB / 330.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.193, allocations: 227.5 kB / 330.4 MB, free: 6.688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/0.1936, allocations: 0.7569 MB / 331.2 MB, free: 5.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1948, allocations: 1.063 MB / 332.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1948, allocations: 0 / 332.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001865/0.1966, allocations: 1.306 MB / 333.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1966, allocations: 15.92 kB / 333.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.1967, allocations: 15.94 kB / 333.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.1977, allocations: 386 kB / 334 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.1984, allocations: 319.5 kB / 334.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.201, allocations: 3.34 MB / 337.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.2017, allocations: 79.56 kB / 337.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.2017, allocations: 56 kB / 337.8 MB, free: 15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (157): * Single equations (assignments): 152 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006451/0.2024, allocations: 242.7 kB / 338 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.2027, allocations: 230.9 kB / 338.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.204, allocations: 1.051 MB / 339.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.204, allocations: 19.94 kB / 339.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.204, allocations: 4 kB / 339.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.204, allocations: 3.984 kB / 339.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.2081, allocations: 3.344 MB / 342.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2081, allocations: 0 / 342.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.2086, allocations: 214.9 kB / 342.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/0.2095, allocations: 367.2 kB / 343.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.2096, allocations: 35.98 kB / 343.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.2122, allocations: 3.294 MB / 346.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2122, allocations: 0 / 346.5 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.2145, allocations: 1.499 MB / 348 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.215, allocations: 326.7 kB / 348.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2151, allocations: 24 kB / 348.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.2155, allocations: 87.95 kB / 348.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.2157, allocations: 104.3 kB / 348.6 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.297e-05/0.2158, allocations: 39.98 kB / 348.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009867/0.2168, allocations: 0.7951 MB / 349.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2168, allocations: 0 / 349.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001464/0.2182, allocations: 0.5412 MB / 349.9 MB, free: 2.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (102): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004894/0.2187, allocations: 227.8 kB / 350.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.2204, allocations: 1.198 MB / 351.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.2204, allocations: 8.062 kB / 351.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.2212, allocations: 0.7723 MB / 352.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2223, allocations: 420.5 kB / 352.6 MB, free: 128 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.2286, allocations: 4.764 MB / 357.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.2293, allocations: 0.8676 MB / 358.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008247/0.2301, allocations: 373.8 kB / 358.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.2304, allocations: 116.5 kB / 358.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2304, allocations: 0 / 358.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of Templates: time 0.03985/0.2702, allocations: 27.32 MB / 386 MB, free: 15 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/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: 3.503771219868213]