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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007542, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009154/0.0009155, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002182, allocations: 4 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1159, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003733/0.1197, allocations: 3.412 MB / 362.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1218, allocations: 1.059 MB / 363.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.1223, allocations: 19.88 kB / 363.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1225, allocations: 135 kB / 363.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007628/0.1233, allocations: 274.7 kB / 364.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1236, allocations: 115.9 kB / 364.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.125, allocations: 1.662 MB / 365.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1261, allocations: 1.023 MB / 367 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.1266, allocations: 494 kB / 367.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.1273, allocations: 0.6534 MB / 368.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1275, allocations: 72 kB / 368.2 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1277, allocations: 79.98 kB / 368.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.128, allocations: 358.7 kB / 368.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.1285, allocations: 0.6429 MB / 369.2 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.13, allocations: 1.939 MB / 371.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.13, allocations: 4 kB / 371.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.13, allocations: 0 / 371.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.13, allocations: 0 / 371.2 MB, free: 1.289 MB / 302.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.1967/0.3267, allocations: 1.482 MB / 372.7 MB, free: 18.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3268, allocations: 9.984 kB / 372.7 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.3279, allocations: 178 kB / 372.8 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.3295, allocations: 0.8827 MB / 373.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.3296, allocations: 84.66 kB / 373.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.3298, allocations: 109.6 kB / 373.9 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.3328, allocations: 1.577 MB / 375.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3329, allocations: 5.906 kB / 375.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-05/0.333, allocations: 50.16 kB / 375.5 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.333, allocations: 26.94 kB / 375.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.3351, allocations: 1.344 MB / 376.9 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.3419, allocations: 4.363 MB / 381.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.3431, allocations: 1.331 MB / 382.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.3441, allocations: 0.5337 MB / 383.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.3441, allocations: 8.031 kB / 383.1 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3442, allocations: 38.98 kB / 383.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.364e-06/0.3442, allocations: 0 / 383.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001618/0.3458, allocations: 0.8954 MB / 384.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.3458, allocations: 57.03 kB / 384.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.3469, allocations: 0.8313 MB / 385 MB, free: 13.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.347, allocations: 36.83 kB / 385 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.3473, allocations: 0.5479 MB / 385.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3474, allocations: 174.9 kB / 385.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/0.3475, allocations: 50.02 kB / 385.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3477, allocations: 388 kB / 386.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.3481, allocations: 306.7 kB / 386.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.3486, allocations: 402.8 kB / 386.8 MB, free: 12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.3496, allocations: 0.7034 MB / 387.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3496, allocations: 5.406 kB / 387.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001206/0.3508, allocations: 0.8362 MB / 388.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3509, allocations: 9.25 kB / 388.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.3509, allocations: 3.625 kB / 388.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3509, allocations: 4 kB / 388.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.3515, allocations: 154.8 kB / 388.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3515, allocations: 5.375 kB / 388.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/0.3519, allocations: 64.86 kB / 388.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.352, allocations: 22.83 kB / 388.6 MB, free: 11.15 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.0005553/0.3525, allocations: 460.5 kB / 389.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3527, allocations: 77.36 kB / 389.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.3528, allocations: 101.8 kB / 389.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3528, allocations: 4.281 kB / 389.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3529, allocations: 1.406 kB / 389.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3529, allocations: 5.141 kB / 389.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.3555, allocations: 1.977 MB / 391.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3555, allocations: 3.031 kB / 391.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.356, allocations: 124.6 kB / 391.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.356, allocations: 3.094 kB / 391.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.356, allocations: 12.41 kB / 391.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.356, allocations: 8.031 kB / 391.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.356, allocations: 1.25 kB / 391.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3574, allocations: 1.141 MB / 392.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.3576, allocations: 173.8 kB / 392.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.3577, allocations: 13 kB / 392.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.3581, allocations: 57.09 kB / 392.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.3582, allocations: 37.3 kB / 392.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.3582, allocations: 15.22 kB / 392.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000659/0.3589, allocations: 0.6025 MB / 393.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3589, allocations: 1.844 kB / 393.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.3596, allocations: 283.5 kB / 393.7 MB, free: 8.109 MB / 302.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.0001396/0.3597, allocations: 121.5 kB / 393.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008682/0.3606, allocations: 0.6603 MB / 394.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3606, allocations: 4.062 kB / 394.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3611, allocations: 327.1 kB / 394.8 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.362, allocations: 174.8 kB / 395 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.365, allocations: 2.85 MB / 397.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.3656, allocations: 1.348 MB / 399.2 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.366, allocations: 209.8 kB / 399.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3662, allocations: 51.44 kB / 399.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3662, allocations: 3.938 kB / 399.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of Templates: time 0.01588/0.3821, allocations: 9.417 MB / 408.9 MB, free: 10.41 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches