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.001158/0.001158, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.002547/0.002547, allocations: 156.4 kB / 24.98 MB, free: 8.75 MB / 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.047/1.047, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.229e-05, allocations: 5.266 kB / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004083/0.004115, allocations: 3.774 MB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.006021, allocations: 1.071 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.0063, allocations: 31.75 kB / 277.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.006599, allocations: 162.8 kB / 278 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.007353, allocations: 330 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.007609, allocations: 135.8 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.008709, allocations: 1.478 MB / 280 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.009363, allocations: 0.6473 MB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009537/0.01032, allocations: 0.9668 MB / 281.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.01112, allocations: 0.7951 MB / 282.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.01127, allocations: 156 kB / 282.5 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.01145, allocations: 164 kB / 282.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.01174, allocations: 0.4908 MB / 283.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.01215, allocations: 0.5223 MB / 283.7 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009368/0.01308, allocations: 1.262 MB / 284.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01309, allocations: 0 / 284.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01309, allocations: 0 / 284.9 MB, free: 5.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.01311, allocations: 0 / 284.9 MB, free: 5.711 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.001913/0.01502, allocations: 1.809 MB / 286.8 MB, free: 3.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.01506, allocations: 11.98 kB / 286.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.01548, allocations: 272 kB / 287 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008402/0.01632, allocations: 0.7713 MB / 287.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.01637, allocations: 82.62 kB / 287.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.01649, allocations: 112.4 kB / 288 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.01773, allocations: 1.048 MB / 289 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.01775, allocations: 0 / 289 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-05/0.01782, allocations: 48 kB / 289.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.01787, allocations: 46.25 kB / 289.1 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.01862, allocations: 389.2 kB / 289.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1264/0.1451, allocations: 3.468 MB / 293 MB, free: 26.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.1456, allocations: 373.1 kB / 293.3 MB, free: 26.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.1461, allocations: 257.1 kB / 293.6 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1461, allocations: 8.312 kB / 293.6 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1461, allocations: 42.75 kB / 293.6 MB, free: 26.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 3.727e-06/0.1461, allocations: 0.5312 kB / 293.6 MB, free: 26.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0007056/0.1468, allocations: 403.4 kB / 294 MB, free: 26.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1469, allocations: 62 kB / 294.1 MB, free: 26.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.1476, allocations: 0.6928 MB / 294.8 MB, free: 25.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1476, allocations: 37.05 kB / 294.8 MB, free: 25.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.1479, allocations: 0.632 MB / 295.5 MB, free: 25.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.148, allocations: 197.6 kB / 295.7 MB, free: 25.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1481, allocations: 114.7 kB / 295.8 MB, free: 25.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1483, allocations: 0.5829 MB / 296.4 MB, free: 24.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1484, allocations: 75.78 kB / 296.4 MB, free: 24.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1487, allocations: 207.7 kB / 296.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.149, allocations: 319.1 kB / 296.9 MB, free: 24.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.149, allocations: 1.188 kB / 296.9 MB, free: 24.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005886/0.1496, allocations: 418 kB / 297.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1497, allocations: 9.516 kB / 297.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1497, allocations: 2.438 kB / 297.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1497, allocations: 5.188 kB / 297.4 MB, free: 24.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1501, allocations: 151.2 kB / 297.5 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1501, allocations: 9.828 kB / 297.5 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1503, allocations: 61.42 kB / 297.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.1503, allocations: 17.75 kB / 297.6 MB, free: 24.21 MB / 266.7 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.0001862/0.1505, allocations: 191.1 kB / 297.8 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.1506, allocations: 86.55 kB / 297.9 MB, free: 23.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.1507, allocations: 88.5 kB / 298 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1507, allocations: 4.406 kB / 298 MB, free: 23.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1507, allocations: 5.672 kB / 298 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1507, allocations: 2.391 kB / 298 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.1526, allocations: 1.423 MB / 299.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1526, allocations: 1.094 kB / 299.4 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.1529, allocations: 112.5 kB / 299.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1529, allocations: 4.031 kB / 299.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.1529, allocations: 13.7 kB / 299.5 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1529, allocations: 4.422 kB / 299.5 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1529, allocations: 6.438 kB / 299.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.1536, allocations: 0.6286 MB / 300.2 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.916e-05/0.1537, allocations: 92.7 kB / 300.3 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.1537, allocations: 10.66 kB / 300.3 MB, free: 22.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.154, allocations: 49.97 kB / 300.3 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.1541, allocations: 53.06 kB / 300.4 MB, free: 22.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1541, allocations: 15.72 kB / 300.4 MB, free: 22.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004421/0.1545, allocations: 442.7 kB / 300.8 MB, free: 22.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1545, allocations: 0 / 300.8 MB, free: 22.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.1553, allocations: 291 kB / 301.1 MB, free: 22.43 MB / 266.7 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.00014/0.1554, allocations: 112.2 kB / 301.2 MB, free: 22.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.1558, allocations: 284.3 kB / 301.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1558, allocations: 5.188 kB / 301.5 MB, free: 22.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.156, allocations: 154.7 kB / 301.6 MB, free: 22.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.1566, allocations: 164.7 kB / 301.8 MB, free: 22.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1594, allocations: 1.976 MB / 303.8 MB, free: 21.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1597, allocations: 364 kB / 304.1 MB, free: 20.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.16, allocations: 158.9 kB / 304.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1601, allocations: 56.91 kB / 304.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1601, allocations: 3.062 kB / 304.3 MB, free: 20.95 MB / 266.7 MB Notification: Performance of Templates: time 0.0112/0.1713, allocations: 9.771 MB / 314.1 MB, free: 12.8 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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: 2.927769172936678]