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.001451/0.001451, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001028/0.001028, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9778/0.9778, allocations: 177 MB / 204.8 MB, free: 5.574 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 1.603e-06/1.603e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.366e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003571/0.003594, allocations: 3.794 MB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.005345, allocations: 1.079 MB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/0.00565, allocations: 31.81 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.005968, allocations: 158.8 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008983/0.006866, allocations: 329.9 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.007128, allocations: 135.8 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.008295, allocations: 1.482 MB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.008941, allocations: 0.6473 MB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.01011, allocations: 0.9629 MB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.01108, allocations: 0.7912 MB / 282.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.01138, allocations: 160 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.01167, allocations: 163.9 kB / 282.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.01202, allocations: 498.6 kB / 283.1 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.01256, allocations: 0.5262 MB / 283.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.01364, allocations: 1.266 MB / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01365, allocations: 0 / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01365, allocations: 0 / 284.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-05/0.01369, allocations: 0 / 284.9 MB, free: 5.383 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.002175/0.01586, allocations: 1.805 MB / 286.7 MB, free: 3.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.0159, allocations: 15.98 kB / 286.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.01632, allocations: 264 kB / 287 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.01716, allocations: 0.7713 MB / 287.7 MB, free: 2.461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.01721, allocations: 86.62 kB / 287.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.01733, allocations: 116.4 kB / 287.9 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.01866, allocations: 1.04 MB / 289 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.01868, allocations: 0 / 289 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.01875, allocations: 44 kB / 289 MB, free: 1.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.01881, allocations: 54.17 kB / 289.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.01954, allocations: 385.2 kB / 289.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1155/0.1351, allocations: 3.465 MB / 292.9 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.1356, allocations: 369 kB / 293.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/0.1361, allocations: 259.5 kB / 293.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1361, allocations: 10.28 kB / 293.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1362, allocations: 47.61 kB / 293.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.855e-06/0.1362, allocations: 0.5 kB / 293.6 MB, free: 24.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0007514/0.1369, allocations: 402.5 kB / 294 MB, free: 24.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1369, allocations: 56.69 kB / 294 MB, free: 24.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007476/0.1377, allocations: 0.6964 MB / 294.7 MB, free: 23.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1377, allocations: 39.48 kB / 294.8 MB, free: 23.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.138, allocations: 0.633 MB / 295.4 MB, free: 23.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1382, allocations: 193.4 kB / 295.6 MB, free: 23.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.1383, allocations: 110.5 kB / 295.7 MB, free: 23.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1385, allocations: 0.5871 MB / 296.3 MB, free: 22.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1386, allocations: 72.95 kB / 296.4 MB, free: 22.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1389, allocations: 212 kB / 296.6 MB, free: 22.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.1393, allocations: 314.8 kB / 296.9 MB, free: 22.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1393, allocations: 1.156 kB / 296.9 MB, free: 22.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006704/0.14, allocations: 421.2 kB / 297.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.14, allocations: 6.281 kB / 297.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.14, allocations: 2.25 kB / 297.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.14, allocations: 6.094 kB / 297.3 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.1405, allocations: 148.6 kB / 297.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1405, allocations: 8.797 kB / 297.4 MB, free: 22.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.1407, allocations: 58.8 kB / 297.5 MB, free: 22.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1408, allocations: 20.55 kB / 297.5 MB, free: 22.3 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.0001698/0.1409, allocations: 189.8 kB / 297.7 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.141, allocations: 94.06 kB / 297.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.936e-05/0.1411, allocations: 81.3 kB / 297.9 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1411, allocations: 8.234 kB / 297.9 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1411, allocations: 0 / 297.9 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1411, allocations: 2.531 kB / 297.9 MB, free: 22.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.143, allocations: 1.424 MB / 299.3 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.143, allocations: 6.359 kB / 299.3 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.1434, allocations: 116.8 kB / 299.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1434, allocations: 2.969 kB / 299.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.1434, allocations: 14.55 kB / 299.5 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1434, allocations: 7.641 kB / 299.5 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1434, allocations: 5.031 kB / 299.5 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.1442, allocations: 0.6244 MB / 300.1 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1443, allocations: 93.41 kB / 300.2 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.1444, allocations: 17.81 kB / 300.2 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1446, allocations: 43.06 kB / 300.2 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1447, allocations: 43.95 kB / 300.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1447, allocations: 16.84 kB / 300.3 MB, free: 20.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000442/0.1452, allocations: 438.6 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1452, allocations: 3.812 kB / 300.7 MB, free: 20.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006586/0.1458, allocations: 294.8 kB / 301 MB, free: 20.49 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.0001209/0.146, allocations: 111.6 kB / 301.1 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.1464, allocations: 287.5 kB / 301.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1465, allocations: 3.781 kB / 301.4 MB, free: 20.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.1467, allocations: 151.7 kB / 301.6 MB, free: 20.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.1474, allocations: 177.5 kB / 301.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1502, allocations: 1.967 MB / 303.7 MB, free: 19.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1505, allocations: 369.3 kB / 304.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003569/0.1508, allocations: 153.5 kB / 304.2 MB, free: 19.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.151, allocations: 52.47 kB / 304.3 MB, free: 19 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.151, allocations: 3.828 kB / 304.3 MB, free: 19 MB / 266.7 MB Notification: Performance of Templates: time 0.01366/0.1646, allocations: 10.24 MB / 314.5 MB, free: 10.91 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.857084203977138]