Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 109.4 kB / 18.34 MB, free: 4.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 192.1 kB / 19.28 MB, free: 3.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1183, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005588/0.124, allocations: 3.734 MB / 332.4 MB, free: 0 / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1262, allocations: 1.052 MB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.1264, allocations: 23.81 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1268, allocations: 150.8 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009517/0.1278, allocations: 298.4 kB / 334 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1282, allocations: 123.8 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.13, allocations: 1.451 MB / 335.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.1316, allocations: 1.142 MB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.133, allocations: 0.6386 MB / 337.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1341, allocations: 0.7706 MB / 338.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.1343, allocations: 160 kB / 338.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1345, allocations: 160 kB / 338.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.1349, allocations: 474.7 kB / 338.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.1357, allocations: 0.735 MB / 339.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.1374, allocations: 2.056 MB / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1374, allocations: 0 / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1374, allocations: 0 / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.1374, allocations: 0 / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002932/0.1403, allocations: 1.687 MB / 343.3 MB, free: 4.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1404, allocations: 8.031 kB / 343.3 MB, free: 4.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1406, allocations: 143.2 kB / 343.5 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.142, allocations: 0.8345 MB / 344.3 MB, free: 3.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.1421, allocations: 82.62 kB / 344.4 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1423, allocations: 115.9 kB / 344.5 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.1446, allocations: 1.564 MB / 346.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.1447, allocations: 4 kB / 346.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.1448, allocations: 48 kB / 346.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1448, allocations: 28 kB / 346.2 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.1468, allocations: 1.324 MB / 347.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006683/0.1535, allocations: 4.275 MB / 351.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1547, allocations: 1.327 MB / 353.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.1556, allocations: 0.5346 MB / 353.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1556, allocations: 8.375 kB / 353.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1557, allocations: 39 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 1.833e-06/0.1557, allocations: 0 / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001387/0.1571, allocations: 0.8728 MB / 354.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1571, allocations: 59.84 kB / 354.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.1581, allocations: 0.8204 MB / 355.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.1581, allocations: 37.7 kB / 355.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1585, allocations: 0.5376 MB / 356 MB, free: 7.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1586, allocations: 177.5 kB / 356.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1588, allocations: 102.2 kB / 356.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.159, allocations: 390.7 kB / 356.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.1594, allocations: 300.9 kB / 356.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.1599, allocations: 406.4 kB / 357.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.1608, allocations: 0.6903 MB / 358 MB, free: 5.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1609, allocations: 0 / 358 MB, free: 5.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001187/0.162, allocations: 0.8181 MB / 358.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1621, allocations: 4 kB / 358.8 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1621, allocations: 4.281 kB / 358.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1621, allocations: 8 kB / 358.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.1627, allocations: 147.8 kB / 359 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1627, allocations: 11.88 kB / 359 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.1631, allocations: 71.34 kB / 359.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.1632, allocations: 20 kB / 359.1 MB, free: 4.68 MB / 302.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.0007685/0.164, allocations: 461.4 kB / 359.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1641, allocations: 75.16 kB / 359.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.1643, allocations: 95.08 kB / 359.7 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1643, allocations: 8 kB / 359.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1643, allocations: 3.984 kB / 359.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1643, allocations: 7.922 kB / 359.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.1677, allocations: 1.934 MB / 361.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.1677, allocations: 4 kB / 361.7 MB, free: 2.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.1683, allocations: 119.8 kB / 361.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.1683, allocations: 8.156 kB / 361.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.1683, allocations: 8 kB / 361.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.1683, allocations: 11.97 kB / 361.8 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1684, allocations: 0 / 361.8 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1698, allocations: 1.126 MB / 362.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.1701, allocations: 172.2 kB / 363.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.1702, allocations: 12 kB / 363.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.1706, allocations: 51.95 kB / 363.2 MB, free: 476 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.1707, allocations: 40.31 kB / 363.2 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1707, allocations: 16 kB / 363.2 MB, free: 420 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008009/0.1715, allocations: 0.5927 MB / 363.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1715, allocations: 0 / 363.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000682/0.1722, allocations: 278.7 kB / 364.1 MB, free: 15.55 MB / 318.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.0001432/0.1724, allocations: 123.4 kB / 364.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.1734, allocations: 0.6497 MB / 364.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1734, allocations: 0 / 364.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.1738, allocations: 327 kB / 365.2 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000814/0.1746, allocations: 182.7 kB / 365.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.1781, allocations: 2.266 MB / 367.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.179, allocations: 1.336 MB / 369 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.1795, allocations: 209.8 kB / 369.2 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.1797, allocations: 55.44 kB / 369.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1797, allocations: 0 / 369.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01827/0.198, allocations: 10 MB / 379.2 MB, free: 328 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches