Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001343/0.001343, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001436/0.001436, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9132/0.9132, allocations: 177 MB / 204.8 MB, free: 5.578 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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.738e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007169/0.007196, allocations: 5.921 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00391/0.01111, allocations: 2.126 MB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.01162, allocations: 47.69 kB / 281 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008165/0.01244, allocations: 405.3 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.01361, allocations: 0.6016 MB / 282 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.014, allocations: 243.6 kB / 282.2 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.01584, allocations: 2.318 MB / 284.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.01697, allocations: 1.131 MB / 285.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.01893, allocations: 1.627 MB / 287.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.02033, allocations: 1.208 MB / 288.5 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.02072, allocations: 292 kB / 288.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.02119, allocations: 379.8 kB / 289.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.02162, allocations: 0.7596 MB / 289.9 MB, free: 320 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.134/0.1557, allocations: 0.8693 MB / 290.8 MB, free: 17.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.1584, allocations: 2.045 MB / 292.9 MB, free: 17.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1584, allocations: 0 / 292.9 MB, free: 17.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1584, allocations: 0.7031 kB / 292.9 MB, free: 17.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.475e-05/0.1585, allocations: 0 / 292.9 MB, free: 17.69 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.003716/0.1622, allocations: 2.543 MB / 295.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1622, allocations: 14.14 kB / 295.4 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.1631, allocations: 435.6 kB / 295.8 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.1645, allocations: 1.222 MB / 297.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.1645, allocations: 133.5 kB / 297.2 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.1647, allocations: 176.7 kB / 297.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.1671, allocations: 1.582 MB / 298.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.1671, allocations: 2.125 kB / 298.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.1673, allocations: 79.69 kB / 299 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1674, allocations: 107.4 kB / 299.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1688, allocations: 0.6223 MB / 299.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0059/0.1747, allocations: 6.002 MB / 305.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.1753, allocations: 391.2 kB / 306.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.1756, allocations: 207.6 kB / 306.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.1758, allocations: 44.2 kB / 306.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1758, allocations: 48.58 kB / 306.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.1758, allocations: 0 / 306.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001744/0.1775, allocations: 1.279 MB / 307.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1776, allocations: 85.42 kB / 307.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/0.1785, allocations: 1.191 MB / 309 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1786, allocations: 40.03 kB / 309 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.1789, allocations: 1.113 MB / 310.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.474e-05/0.179, allocations: 212.8 kB / 310.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.1792, allocations: 266 kB / 310.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.1793, allocations: 0.5533 MB / 311.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1795, allocations: 134.2 kB / 311.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.18, allocations: 1.116 MB / 312.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.1808, allocations: 1.349 MB / 313.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.1808, allocations: 5.938 kB / 313.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00117/0.182, allocations: 1.101 MB / 314.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.182, allocations: 13.78 kB / 314.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.182, allocations: 21.12 kB / 314.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.1825, allocations: 149.2 kB / 315 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.1829, allocations: 282.5 kB / 315.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.184, allocations: 2.372 MB / 317.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.1845, allocations: 83.8 kB / 317.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.1845, allocations: 71.98 kB / 317.8 MB, free: 2.656 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003204/0.1849, allocations: 251.5 kB / 318.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.185, allocations: 147.1 kB / 318.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.1855, allocations: 463 kB / 318.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1855, allocations: 8 kB / 318.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1855, allocations: 2.844 kB / 318.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1855, allocations: 0 / 318.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.1873, allocations: 1.903 MB / 320.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1873, allocations: 0 / 320.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1875, allocations: 98.97 kB / 320.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.1879, allocations: 131.4 kB / 320.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.1879, allocations: 23.92 kB / 320.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.1893, allocations: 2.31 MB / 323.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.1893, allocations: 11.97 kB / 323.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008408/0.1902, allocations: 0.7882 MB / 324 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.1904, allocations: 189 kB / 324.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.1905, allocations: 16 kB / 324.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1907, allocations: 44 kB / 324.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/0.1908, allocations: 59.78 kB / 324.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.1908, allocations: 20 kB / 324.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006329/0.1915, allocations: 0.6496 MB / 324.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1915, allocations: 4 kB / 324.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001086/0.1926, allocations: 348 kB / 325.3 MB, free: 11.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/0.1929, allocations: 197.2 kB / 325.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.1938, allocations: 0.7738 MB / 326.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1938, allocations: 0 / 326.2 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.1941, allocations: 401 kB / 326.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.1949, allocations: 277.9 kB / 326.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.1986, allocations: 2.819 MB / 329.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1989, allocations: 0.5208 MB / 330.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004171/0.1993, allocations: 257.9 kB / 330.5 MB, free: 5.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1995, allocations: 84.5 kB / 330.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1995, allocations: 0 / 330.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of Templates: time 0.01969/0.2192, allocations: 16.51 MB / 347.1 MB, free: 5.418 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.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.0656171930022538]