Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001637/0.001637, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001444/0.001444, allocations: 162 kB / 24.5 MB, free: 3.715 MB / 14.72 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.1 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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 64.98 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005104/0.1211, allocations: 3.492 MB / 382.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.123, allocations: 0.997 MB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1232, allocations: 27.81 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1236, allocations: 158.8 kB / 383.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008432/0.1244, allocations: 298.4 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1247, allocations: 135.8 kB / 384 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.1261, allocations: 1.405 MB / 385.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.127, allocations: 0.6274 MB / 386 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.1277, allocations: 0.6543 MB / 386.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1288, allocations: 0.7901 MB / 387.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.129, allocations: 156 kB / 387.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1293, allocations: 160 kB / 387.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.1297, allocations: 474.7 kB / 388.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006681/0.1304, allocations: 0.5952 MB / 388.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.1324, allocations: 2.067 MB / 390.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1324, allocations: 0 / 390.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1324, allocations: 0 / 390.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.1325, allocations: 7.938 kB / 390.9 MB, free: 3.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003147/0.1356, allocations: 1.634 MB / 392.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1357, allocations: 15.98 kB / 392.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.1362, allocations: 176 kB / 392.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.1377, allocations: 0.8358 MB / 393.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.1377, allocations: 90.28 kB / 393.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.1379, allocations: 111.9 kB / 393.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.1406, allocations: 1.715 MB / 395.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.1406, allocations: 0 / 395.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1407, allocations: 40 kB / 395.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.1408, allocations: 50.16 kB / 395.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.143, allocations: 1.32 MB / 396.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006254/0.1493, allocations: 3.565 MB / 400.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.1502, allocations: 0.5779 MB / 401 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/0.1509, allocations: 414 kB / 401.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1509, allocations: 4.375 kB / 401.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.151, allocations: 42.94 kB / 401.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.565e-06/0.151, allocations: 0 / 401.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003484/0.1545, allocations: 1.818 MB / 403.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1545, allocations: 55.91 kB / 403.4 MB, free: 6.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1557, allocations: 0.8047 MB / 404.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.1558, allocations: 29.7 kB / 404.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.1563, allocations: 0.57 MB / 404.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.1565, allocations: 178.5 kB / 404.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.1566, allocations: 94.34 kB / 405 MB, free: 4.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1569, allocations: 382.8 kB / 405.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.1573, allocations: 301.1 kB / 405.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.1579, allocations: 405.1 kB / 406.1 MB, free: 3.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.159, allocations: 0.6851 MB / 406.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.159, allocations: 0 / 406.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001629/0.1606, allocations: 0.8997 MB / 407.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1606, allocations: 14.75 kB / 407.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1606, allocations: 0 / 407.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.161, allocations: 117 kB / 407.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.1615, allocations: 111.8 kB / 407.9 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.164, allocations: 2.215 MB / 410.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.1645, allocations: 28.05 kB / 410.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.1645, allocations: 16 kB / 410.2 MB, free: 15.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008072/0.1653, allocations: 457.4 kB / 410.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.1655, allocations: 71.64 kB / 410.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.1656, allocations: 95.02 kB / 410.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1657, allocations: 8 kB / 410.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1657, allocations: 0 / 410.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1657, allocations: 3.984 kB / 410.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.1689, allocations: 1.649 MB / 412.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1689, allocations: 8.062 kB / 412.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.1693, allocations: 79.89 kB / 412.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.1696, allocations: 108.7 kB / 412.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.1696, allocations: 11.98 kB / 412.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002575/0.1722, allocations: 2.169 MB / 414.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1722, allocations: 0 / 414.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.174, allocations: 1.155 MB / 416 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.1743, allocations: 83.55 kB / 416.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1744, allocations: 12 kB / 416.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.1748, allocations: 43.95 kB / 416.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1749, allocations: 40.2 kB / 416.2 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.1749, allocations: 15.98 kB / 416.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009056/0.1758, allocations: 0.5732 MB / 416.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1758, allocations: 3.938 kB / 416.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008364/0.1767, allocations: 215.9 kB / 417 MB, free: 8.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.1768, allocations: 107.2 kB / 417.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.1783, allocations: 0.7816 MB / 417.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1783, allocations: 4 kB / 417.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.1791, allocations: 450.2 kB / 418.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008532/0.18, allocations: 163.5 kB / 418.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.184, allocations: 2.205 MB / 420.6 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/0.1849, allocations: 0.741 MB / 421.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004466/0.1854, allocations: 181.4 kB / 421.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1855, allocations: 44.5 kB / 421.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1855, allocations: 0 / 421.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of Templates: time 0.02058/0.2061, allocations: 10.24 MB / 431.8 MB, free: 9.742 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.75224124500528]