Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001834/0.001834, allocations: 81.94 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.002299/0.002299, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.445/1.445, allocations: 177.1 MB / 204.7 MB, free: 8.945 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 64.97 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1283, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00597/0.1343, allocations: 3.504 MB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1367, allocations: 1.044 MB / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.137, allocations: 31.75 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1373, allocations: 154.8 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009305/0.1383, allocations: 322.3 kB / 383.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1386, allocations: 139.8 kB / 384.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.1402, allocations: 1.42 MB / 385.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008893/0.1411, allocations: 0.6435 MB / 386.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.142, allocations: 0.6698 MB / 386.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1431, allocations: 0.8057 MB / 387.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.1433, allocations: 160 kB / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1437, allocations: 160 kB / 387.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.1441, allocations: 474.7 kB / 388.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.1448, allocations: 0.6224 MB / 389 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.147, allocations: 2.094 MB / 391.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1471, allocations: 4 kB / 391.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1471, allocations: 3.938 kB / 391.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.501e-05/0.1471, allocations: 0 / 391.1 MB, free: 3.145 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003072/0.1501, allocations: 1.661 MB / 392.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1502, allocations: 15.98 kB / 392.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.1507, allocations: 172 kB / 393 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.1522, allocations: 0.8669 MB / 393.8 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.21e-05/0.1523, allocations: 86.38 kB / 393.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.1525, allocations: 112 kB / 394 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.1552, allocations: 1.735 MB / 395.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.1552, allocations: 3.938 kB / 395.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1553, allocations: 48 kB / 395.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-05/0.1554, allocations: 50.23 kB / 395.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.1576, allocations: 1.34 MB / 397.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.1637, allocations: 3.737 MB / 400.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009469/0.1647, allocations: 0.6228 MB / 401.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/0.1656, allocations: 0.5026 MB / 402.1 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1656, allocations: 4.5 kB / 402.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.1656, allocations: 39.06 kB / 402.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.1656, allocations: 0 / 402.1 MB, free: 7.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001485/0.1671, allocations: 0.8791 MB / 403 MB, free: 6.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1672, allocations: 55.91 kB / 403 MB, free: 6.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1682, allocations: 0.8124 MB / 403.9 MB, free: 6.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.1682, allocations: 33.7 kB / 403.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.1687, allocations: 0.5584 MB / 404.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.1688, allocations: 190.4 kB / 404.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.169, allocations: 102.3 kB / 404.7 MB, free: 5.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.1692, allocations: 386.8 kB / 405.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.1697, allocations: 297.1 kB / 405.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.1702, allocations: 407.3 kB / 405.8 MB, free: 4.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.1712, allocations: 0.6856 MB / 406.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1712, allocations: 0 / 406.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001251/0.1725, allocations: 0.8325 MB / 407.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1725, allocations: 4.281 kB / 407.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1725, allocations: 8 kB / 407.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1725, allocations: 4 kB / 407.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.1731, allocations: 147.8 kB / 407.5 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.1731, allocations: 7.938 kB / 407.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1735, allocations: 59.64 kB / 407.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1735, allocations: 23.94 kB / 407.6 MB, free: 2.273 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006245/0.1741, allocations: 457.8 kB / 408 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1743, allocations: 75.53 kB / 408.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.1744, allocations: 95.08 kB / 408.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1744, allocations: 8 kB / 408.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.1744, allocations: 7.875 kB / 408.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1744, allocations: 3.984 kB / 408.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.1773, allocations: 1.678 MB / 409.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1773, allocations: 0 / 409.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.1778, allocations: 123.8 kB / 410 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1778, allocations: 4 kB / 410 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.1778, allocations: 12 kB / 410 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.1778, allocations: 11.94 kB / 410 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1778, allocations: 8.141 kB / 410 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.1794, allocations: 1.124 MB / 411.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1796, allocations: 91.5 kB / 411.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.1797, allocations: 15.98 kB / 411.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.18, allocations: 51.95 kB / 411.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.1801, allocations: 40.36 kB / 411.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.1802, allocations: 16 kB / 411.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007285/0.1809, allocations: 0.5732 MB / 411.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1809, allocations: 0 / 411.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007186/0.1816, allocations: 295 kB / 412.2 MB, free: 13.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001617/0.1818, allocations: 127 kB / 412.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.1829, allocations: 0.6268 MB / 413 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1829, allocations: 0 / 413 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.1833, allocations: 314.5 kB / 413.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008196/0.1841, allocations: 166.5 kB / 413.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.1879, allocations: 2.312 MB / 415.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/0.1888, allocations: 0.7527 MB / 416.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000453/0.1893, allocations: 209.5 kB / 416.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1894, allocations: 52.5 kB / 416.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1894, allocations: 4 kB / 416.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of Templates: time 0.01874/0.2082, allocations: 9.847 MB / 426.6 MB, free: 15.21 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.716774602071382]