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.002272/0.002272, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002859/0.002859, allocations: 164.8 kB / 24.27 MB, free: 152 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 1.562/1.562, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.1..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.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.84e-05, allocations: 5.125 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01287/0.0129, allocations: 5.859 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.0186, allocations: 2.106 MB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/0.0192, allocations: 55.62 kB / 280.2 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.02026, allocations: 397.4 kB / 280.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.02181, allocations: 0.6133 MB / 281.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.02228, allocations: 239.5 kB / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.02512, allocations: 2.318 MB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.02693, allocations: 1.135 MB / 284.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.0305, allocations: 1.64 MB / 286.5 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.03285, allocations: 1.204 MB / 287.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.03331, allocations: 288 kB / 288 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.03407, allocations: 375.8 kB / 288.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008166/0.03489, allocations: 0.7557 MB / 289.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1223/0.1572, allocations: 0.8753 MB / 290 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.1618, allocations: 3.887 MB / 293.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1618, allocations: 0 / 293.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1618, allocations: 0 / 293.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.316e-05/0.1619, allocations: 1.219 kB / 293.9 MB, free: 17.99 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.004966/0.1668, allocations: 2.757 MB / 296.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1669, allocations: 13.11 kB / 296.7 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.168, allocations: 440.8 kB / 297.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.1702, allocations: 1.252 MB / 298.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1703, allocations: 128.5 kB / 298.5 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.1706, allocations: 177.3 kB / 298.7 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/0.1745, allocations: 2.728 MB / 301.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.1745, allocations: 4.547 kB / 301.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.1747, allocations: 76.03 kB / 301.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.1748, allocations: 108.3 kB / 301.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.1775, allocations: 1.824 MB / 303.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.188, allocations: 9.598 MB / 313 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009275/0.1889, allocations: 0.5944 MB / 313.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.1894, allocations: 361.7 kB / 314 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.1896, allocations: 40.47 kB / 314 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1896, allocations: 45.89 kB / 314 MB, free: 6.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.973e-06/0.1896, allocations: 0 / 314 MB, free: 6.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.00299/0.1926, allocations: 1.814 MB / 315.9 MB, free: 5.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.1926, allocations: 81.61 kB / 315.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.1942, allocations: 1.68 MB / 317.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1942, allocations: 36.98 kB / 317.6 MB, free: 3.246 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.1947, allocations: 1.19 MB / 318.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1948, allocations: 220.7 kB / 319.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/0.1952, allocations: 319.2 kB / 319.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1953, allocations: 0.5902 MB / 320 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.1958, allocations: 362.4 kB / 320.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.1972, allocations: 1.389 MB / 321.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.1997, allocations: 1.793 MB / 323.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.1997, allocations: 4 kB / 323.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003033/0.2027, allocations: 1.577 MB / 325.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.2027, allocations: 16 kB / 325.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.2028, allocations: 20 kB / 325.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/0.2037, allocations: 179.8 kB / 325.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000968/0.2046, allocations: 288.2 kB / 325.6 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.2079, allocations: 2.715 MB / 328.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.2092, allocations: 83.8 kB / 328.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.2093, allocations: 68 kB / 328.4 MB, free: 7.75 MB / 282.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.001265/0.2106, allocations: 0.657 MB / 329.1 MB, free: 7.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.211, allocations: 159.1 kB / 329.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2125, allocations: 0.6642 MB / 329.9 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.2125, allocations: 4 kB / 329.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2125, allocations: 4 kB / 329.9 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2125, allocations: 4 kB / 329.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/0.218, allocations: 2.613 MB / 332.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.218, allocations: 4 kB / 332.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.2184, allocations: 97.98 kB / 332.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000774/0.2191, allocations: 156.3 kB / 332.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.2192, allocations: 22.62 kB / 332.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.2221, allocations: 2.591 MB / 335.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.2221, allocations: 7.938 kB / 335.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.2242, allocations: 1.126 MB / 336.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.2249, allocations: 175.2 kB / 336.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.2251, allocations: 19.98 kB / 336.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000586/0.2256, allocations: 44 kB / 336.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2258, allocations: 55.42 kB / 336.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.2258, allocations: 23.98 kB / 336.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00161/0.2275, allocations: 0.9541 MB / 337.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2275, allocations: 0 / 337.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001751/0.2292, allocations: 355.9 kB / 338.1 MB, free: 13.83 MB / 298.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.0005866/0.2298, allocations: 195.8 kB / 338.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.2323, allocations: 1.139 MB / 339.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.2323, allocations: 0 / 339.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.2332, allocations: 0.4952 MB / 340 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.2347, allocations: 261.6 kB / 340.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.2409, allocations: 3.037 MB / 343.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.2423, allocations: 1.045 MB / 344.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008925/0.2432, allocations: 257.9 kB / 344.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.2434, allocations: 88.48 kB / 344.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2434, allocations: 3.062 kB / 344.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of Templates: time 0.0346/0.2781, allocations: 15.68 MB / 360.3 MB, free: 7.82 MB / 314.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.999167997972108]