Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.000926/0.000926, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001122/0.001122, allocations: 143.8 kB / 24.97 MB, free: 8.816 MB / 18.57 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.979/0.979, allocations: 173.3 MB / 201.5 MB, free: 9.336 MB / 186.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.617e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006464/0.00649, allocations: 5.859 MB / 273.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01042, allocations: 2.037 MB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.01109, allocations: 51.69 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.01213, allocations: 389.4 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.01353, allocations: 0.6055 MB / 277 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.01385, allocations: 227.6 kB / 277.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.01551, allocations: 2.291 MB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.01663, allocations: 1.139 MB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.01851, allocations: 1.606 MB / 282.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.0198, allocations: 1.193 MB / 283.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.02019, allocations: 288 kB / 283.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.02064, allocations: 367.8 kB / 284.1 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004325/0.02107, allocations: 0.7518 MB / 284.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008303/0.0219, allocations: 0.8654 MB / 285.7 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.02362, allocations: 2.033 MB / 287.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.02362, allocations: 0 / 287.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02362, allocations: 0 / 287.8 MB, free: 2.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.947e-05/0.02367, allocations: 0 / 287.8 MB, free: 2.938 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002895/0.02657, allocations: 2.518 MB / 290.3 MB, free: 380 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.02661, allocations: 16.91 kB / 290.3 MB, free: 364 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1486/0.1752, allocations: 406.3 kB / 290.7 MB, free: 32.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.1783, allocations: 1.208 MB / 291.9 MB, free: 32.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.389e-05/0.1784, allocations: 133.5 kB / 292 MB, free: 32.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.1786, allocations: 183.7 kB / 292.2 MB, free: 32.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.1807, allocations: 1.571 MB / 293.8 MB, free: 31.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1807, allocations: 1.656 kB / 293.8 MB, free: 31.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.1808, allocations: 73.16 kB / 293.8 MB, free: 31.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.729e-05/0.1809, allocations: 98.2 kB / 293.9 MB, free: 31.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1821, allocations: 0.6122 MB / 294.6 MB, free: 31.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005714/0.1878, allocations: 5.943 MB / 300.5 MB, free: 28.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.1885, allocations: 394.3 kB / 300.9 MB, free: 27.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1888, allocations: 215.4 kB / 301.1 MB, free: 27.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.1889, allocations: 40.67 kB / 301.1 MB, free: 27.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1889, allocations: 42.52 kB / 301.2 MB, free: 27.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.1889, allocations: 0 / 301.2 MB, free: 27.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001831/0.1907, allocations: 1.291 MB / 302.5 MB, free: 27.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1908, allocations: 83.95 kB / 302.5 MB, free: 27.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1918, allocations: 1.176 MB / 303.7 MB, free: 26.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.1918, allocations: 32.52 kB / 303.8 MB, free: 26.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.1922, allocations: 1.102 MB / 304.9 MB, free: 25.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.1923, allocations: 210.2 kB / 305.1 MB, free: 25.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.1925, allocations: 260.8 kB / 305.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.1926, allocations: 0.5543 MB / 305.9 MB, free: 24.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1928, allocations: 128.2 kB / 306 MB, free: 24.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.1932, allocations: 1.098 MB / 307.1 MB, free: 23.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.1939, allocations: 1.325 MB / 308.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.1939, allocations: 7.594 kB / 308.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001157/0.1951, allocations: 1.084 MB / 309.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1951, allocations: 12 kB / 309.5 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.1951, allocations: 24 kB / 309.5 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.1955, allocations: 156 kB / 309.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.196, allocations: 279.6 kB / 310 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.1971, allocations: 2.374 MB / 312.3 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.1976, allocations: 87.77 kB / 312.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.1976, allocations: 64 kB / 312.5 MB, free: 17.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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.0002814/0.1979, allocations: 252 kB / 312.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.198, allocations: 147.2 kB / 312.9 MB, free: 17.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005208/0.1986, allocations: 452.5 kB / 313.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1986, allocations: 11.05 kB / 313.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1986, allocations: 0 / 313.3 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1986, allocations: 3.984 kB / 313.3 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.2003, allocations: 1.887 MB / 315.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.2003, allocations: 7.75 kB / 315.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.2005, allocations: 95.88 kB / 315.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.2009, allocations: 134.8 kB / 315.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.2009, allocations: 19.98 kB / 315.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008846/0.2018, allocations: 2.312 MB / 317.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2018, allocations: 8.031 kB / 317.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006671/0.2024, allocations: 0.791 MB / 318.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.2026, allocations: 183.2 kB / 318.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.2027, allocations: 12 kB / 318.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.203, allocations: 48.03 kB / 318.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.2031, allocations: 55.84 kB / 318.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.2031, allocations: 20 kB / 318.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.2036, allocations: 0.6489 MB / 319.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.2036, allocations: 0 / 319.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008171/0.2044, allocations: 347.9 kB / 319.9 MB, free: 10.15 MB / 266.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.0003454/0.2047, allocations: 187.3 kB / 320.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.2055, allocations: 0.7646 MB / 320.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2055, allocations: 8.812 kB / 320.8 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.2058, allocations: 394.4 kB / 321.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.2065, allocations: 273.2 kB / 321.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.2094, allocations: 2.801 MB / 324.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2097, allocations: 0.5207 MB / 324.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.21, allocations: 253.8 kB / 325.1 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.2102, allocations: 84.48 kB / 325.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of SimCode: time 1.512e-06/0.2102, allocations: 0 / 325.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of Templates: time 0.02077/0.2309, allocations: 15.67 MB / 340.8 MB, free: 5.391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2416120660491288]