Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007935/0.0007937, allocations: 98.98 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002136/0.0002139, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2282, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.002973/0.2312, allocations: 3.261 MB / 415.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2328, allocations: 1.391 MB / 416.7 MB, free: 21.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.233, allocations: 16.47 kB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.2332, allocations: 128.6 kB / 416.8 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.2339, allocations: 279 kB / 417.1 MB, free: 20.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.2341, allocations: 99.92 kB / 417.2 MB, free: 20.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.2351, allocations: 1.658 MB / 418.9 MB, free: 19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008362/0.236, allocations: 1.035 MB / 419.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.2364, allocations: 498 kB / 420.4 MB, free: 17.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005771/0.237, allocations: 0.6456 MB / 421 MB, free: 16.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.2371, allocations: 72 kB / 421.1 MB, free: 16.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2373, allocations: 76 kB / 421.2 MB, free: 16.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.2375, allocations: 358.8 kB / 421.5 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.238, allocations: 0.6468 MB / 422.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2391, allocations: 1.932 MB / 424.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2391, allocations: 0 / 424.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2391, allocations: 0 / 424.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.2391, allocations: 3.938 kB / 424.1 MB, free: 13.7 MB / 298.7 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.001977/0.2411, allocations: 1.481 MB / 425.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2411, allocations: 8.031 kB / 425.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.2416, allocations: 179.2 kB / 425.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2426, allocations: 0.8616 MB / 426.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.2427, allocations: 86.62 kB / 426.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.2428, allocations: 115.9 kB / 426.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.2448, allocations: 1.564 MB / 428.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.2449, allocations: 0 / 428.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.245, allocations: 48 kB / 428.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.245, allocations: 24 kB / 428.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.2467, allocations: 1.344 MB / 429.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004974/0.2517, allocations: 4.357 MB / 434.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/0.2525, allocations: 1.326 MB / 435.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.2533, allocations: 0.561 MB / 436.1 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2533, allocations: 4.438 kB / 436.1 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2533, allocations: 46.98 kB / 436.1 MB, free: 1.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.465e-06/0.2533, allocations: 0 / 436.1 MB, free: 1.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001159/0.2545, allocations: 0.8885 MB / 437 MB, free: 344 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2545, allocations: 55.84 kB / 437.1 MB, free: 276 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.2555, allocations: 0.8164 MB / 437.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.2555, allocations: 37.7 kB / 437.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.2559, allocations: 0.5415 MB / 438.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.256, allocations: 185.4 kB / 438.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.2561, allocations: 8 kB / 438.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.2563, allocations: 394.7 kB / 439 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.2567, allocations: 300.9 kB / 439.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.2573, allocations: 406.5 kB / 439.7 MB, free: 13.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.2582, allocations: 0.698 MB / 440.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2583, allocations: 3.938 kB / 440.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001192/0.2595, allocations: 0.8337 MB / 441.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2595, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2595, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.2595, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.2601, allocations: 152 kB / 441.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2602, allocations: 8 kB / 441.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2605, allocations: 67.34 kB / 441.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.2606, allocations: 20 kB / 441.5 MB, free: 11.71 MB / 314.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.0006152/0.2612, allocations: 453.5 kB / 441.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2613, allocations: 79.14 kB / 442 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.2614, allocations: 91.08 kB / 442.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.2615, allocations: 8 kB / 442.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2615, allocations: 0 / 442.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2615, allocations: 7.922 kB / 442.1 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.2642, allocations: 1.97 MB / 444.1 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.2642, allocations: 4 kB / 444.1 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.2648, allocations: 120 kB / 444.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2648, allocations: 8 kB / 444.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.2648, allocations: 12 kB / 444.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2648, allocations: 7.938 kB / 444.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2648, allocations: 0 / 444.2 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.2663, allocations: 1.137 MB / 445.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.2665, allocations: 180.1 kB / 445.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.2666, allocations: 8 kB / 445.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.267, allocations: 55.94 kB / 445.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-05/0.2671, allocations: 40.33 kB / 445.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.2671, allocations: 16 kB / 445.7 MB, free: 7.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007099/0.2679, allocations: 0.5888 MB / 446.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2679, allocations: 0 / 446.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000705/0.2686, allocations: 278.8 kB / 446.5 MB, free: 6.535 MB / 314.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.0001582/0.2687, allocations: 122.1 kB / 446.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.2697, allocations: 0.6574 MB / 447.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2697, allocations: 0.5625 kB / 447.3 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.2702, allocations: 334.2 kB / 447.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.2711, allocations: 172.5 kB / 447.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.2749, allocations: 2.851 MB / 450.7 MB, free: 2.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.2758, allocations: 1.34 MB / 452 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.2763, allocations: 205.8 kB / 452.2 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2764, allocations: 51.44 kB / 452.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2764, allocations: 0 / 452.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of Templates: time 0.01668/0.2931, allocations: 9.401 MB / 461.7 MB, free: 7.391 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches