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.00255/0.00255, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002908/0.002908, allocations: 153.1 kB / 24.26 MB, free: 172 kB / 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 1.506/1.506, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.1..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.1..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.847e-05, allocations: 6.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01163/0.01166, allocations: 5.831 MB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.01709, allocations: 2.029 MB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.01779, allocations: 55.62 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.01918, allocations: 397.3 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.02123, allocations: 0.6016 MB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.02184, allocations: 219.7 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00379/0.02563, allocations: 2.294 MB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.02811, allocations: 1.135 MB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.03226, allocations: 1.599 MB / 281.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.03506, allocations: 1.189 MB / 282.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006583/0.03572, allocations: 292 kB / 282.9 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.03676, allocations: 367.8 kB / 283.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.03791, allocations: 0.748 MB / 284.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.03944, allocations: 0.8653 MB / 284.9 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.04419, allocations: 3.86 MB / 288.8 MB, free: 1.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.0442, allocations: 3.984 kB / 288.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0442, allocations: 0 / 288.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.936e-05/0.04424, allocations: 3.938 kB / 288.8 MB, free: 1.141 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.1013/0.1455, allocations: 2.708 MB / 291.5 MB, free: 31.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1455, allocations: 9 kB / 291.5 MB, free: 31.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.1464, allocations: 412.5 kB / 291.9 MB, free: 30.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.1486, allocations: 1.231 MB / 293.1 MB, free: 30.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-05/0.1487, allocations: 128.8 kB / 293.3 MB, free: 30.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.1489, allocations: 179.9 kB / 293.4 MB, free: 30.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003968/0.1529, allocations: 2.725 MB / 296.2 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.1529, allocations: 0 / 296.2 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.1531, allocations: 70.78 kB / 296.2 MB, free: 28.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1532, allocations: 103.3 kB / 296.3 MB, free: 28.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.1561, allocations: 1.827 MB / 298.2 MB, free: 28.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.1673, allocations: 9.459 MB / 307.6 MB, free: 21.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.1682, allocations: 0.6014 MB / 308.2 MB, free: 20.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.1686, allocations: 374 kB / 308.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.1688, allocations: 40.41 kB / 308.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1688, allocations: 47.83 kB / 308.7 MB, free: 20.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.414e-06/0.1688, allocations: 0 / 308.7 MB, free: 20.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.002914/0.1717, allocations: 1.808 MB / 310.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.1718, allocations: 88.27 kB / 310.6 MB, free: 18.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.1733, allocations: 1.66 MB / 312.2 MB, free: 16.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.1733, allocations: 41.69 kB / 312.3 MB, free: 16.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.1738, allocations: 1.167 MB / 313.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.1739, allocations: 224.6 kB / 313.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/0.1742, allocations: 308.4 kB / 314 MB, free: 14.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1744, allocations: 0.5863 MB / 314.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.1748, allocations: 359.2 kB / 314.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.1755, allocations: 1.373 MB / 316.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.1767, allocations: 1.767 MB / 318 MB, free: 9.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.1768, allocations: 8 kB / 318 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001979/0.1787, allocations: 1.555 MB / 319.6 MB, free: 8.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1788, allocations: 19.98 kB / 319.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.1788, allocations: 24.06 kB / 319.6 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.1795, allocations: 186.7 kB / 319.8 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.1803, allocations: 283.4 kB / 320.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.182, allocations: 2.711 MB / 322.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008884/0.1829, allocations: 83.73 kB / 322.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.1829, allocations: 68 kB / 323 MB, free: 4.727 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.0006563/0.1836, allocations: 0.6559 MB / 323.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1838, allocations: 155.2 kB / 323.8 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.1848, allocations: 0.6606 MB / 324.4 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1848, allocations: 4 kB / 324.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1848, allocations: 4 kB / 324.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1848, allocations: 0 / 324.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.1881, allocations: 2.588 MB / 327 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1881, allocations: 7.938 kB / 327 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.1884, allocations: 100.2 kB / 327.1 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006509/0.1891, allocations: 150 kB / 327.3 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.1891, allocations: 15.98 kB / 327.3 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.1918, allocations: 2.614 MB / 329.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1918, allocations: 4 kB / 329.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.1939, allocations: 1.131 MB / 331 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/0.1944, allocations: 183.2 kB / 331.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.1946, allocations: 12 kB / 331.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.1951, allocations: 39.97 kB / 331.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.1953, allocations: 63.81 kB / 331.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.1953, allocations: 20 kB / 331.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001475/0.1968, allocations: 0.9458 MB / 332.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1968, allocations: 0 / 332.3 MB, free: 11.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001402/0.1982, allocations: 347.9 kB / 332.6 MB, free: 10.76 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.0004998/0.1987, allocations: 179.8 kB / 332.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/0.2008, allocations: 1.127 MB / 333.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2008, allocations: 0 / 333.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008664/0.2016, allocations: 0.4917 MB / 334.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.2032, allocations: 277.2 kB / 334.7 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007713/0.2109, allocations: 3.017 MB / 337.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.2128, allocations: 1.029 MB / 338.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001246/0.214, allocations: 249.8 kB / 339 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.2143, allocations: 84.48 kB / 339.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2143, allocations: 0 / 339.1 MB, free: 4.148 MB / 282.7 MB Notification: Performance of Templates: time 0.04704/0.2614, allocations: 15.65 MB / 354.7 MB, free: 4.812 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.925144377048127]