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.00152/0.00152, allocations: 114.8 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001849/0.001849, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.42 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005214/0.1221, allocations: 3.779 MB / 362.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.124, allocations: 1.071 MB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.1242, allocations: 31.81 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1246, allocations: 146.8 kB / 363.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008133/0.1254, allocations: 298.4 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1257, allocations: 131.8 kB / 364.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.1271, allocations: 1.424 MB / 365.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.1287, allocations: 1.229 MB / 367 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.13, allocations: 0.6425 MB / 367.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.1319, allocations: 0.7784 MB / 368.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.1323, allocations: 164 kB / 368.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.1327, allocations: 160 kB / 368.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.1333, allocations: 470.7 kB / 369.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1346, allocations: 0.7467 MB / 370 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.1375, allocations: 2.072 MB / 372 MB, free: 144 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1375, allocations: 0 / 372 MB, free: 144 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1375, allocations: 0 / 372 MB, free: 144 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.302e-05/0.1376, allocations: 0 / 372 MB, free: 144 kB / 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.1944/0.332, allocations: 1.692 MB / 373.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.332, allocations: 9.625 kB / 373.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.3325, allocations: 171.5 kB / 373.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.3341, allocations: 0.9139 MB / 374.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.3342, allocations: 86.67 kB / 374.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3344, allocations: 108.6 kB / 375 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.3367, allocations: 1.569 MB / 376.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.3368, allocations: 3.938 kB / 376.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.3369, allocations: 49.59 kB / 376.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.3369, allocations: 27.59 kB / 376.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3389, allocations: 1.334 MB / 378 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006353/0.3453, allocations: 4.264 MB / 382.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.3463, allocations: 1.339 MB / 383.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/0.3471, allocations: 0.5335 MB / 384.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3471, allocations: 5.562 kB / 384.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3472, allocations: 38.94 kB / 384.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.255e-06/0.3472, allocations: 0 / 384.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001404/0.3486, allocations: 0.8777 MB / 385 MB, free: 14.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3486, allocations: 57.88 kB / 385.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3496, allocations: 0.8316 MB / 385.9 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.3497, allocations: 35.95 kB / 386 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.35, allocations: 0.5469 MB / 386.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/0.3501, allocations: 175.4 kB / 386.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3502, allocations: 103.5 kB / 386.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3503, allocations: 387.1 kB / 387.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.3508, allocations: 302.2 kB / 387.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.3512, allocations: 396.9 kB / 387.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.352, allocations: 0.691 MB / 388.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.352, allocations: 0.9375 kB / 388.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001126/0.3532, allocations: 0.8285 MB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3532, allocations: 6.938 kB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3532, allocations: 2.312 kB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3532, allocations: 4.719 kB / 389.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.3538, allocations: 151.1 kB / 389.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3539, allocations: 10.25 kB / 389.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.3543, allocations: 63.44 kB / 389.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.3543, allocations: 18.16 kB / 389.6 MB, free: 11.65 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.0005086/0.3548, allocations: 465.9 kB / 390.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3549, allocations: 75.75 kB / 390.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3551, allocations: 88.98 kB / 390.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3551, allocations: 5.906 kB / 390.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.3551, allocations: 0 / 390.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3551, allocations: 10.98 kB / 390.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.3578, allocations: 1.945 MB / 392.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3578, allocations: 1.406 kB / 392.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.3583, allocations: 116.9 kB / 392.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3583, allocations: 3.438 kB / 392.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.3583, allocations: 12.84 kB / 392.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3584, allocations: 7.625 kB / 392.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3584, allocations: 1.75 kB / 392.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.3596, allocations: 1.125 MB / 393.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.3598, allocations: 169.9 kB / 393.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.3599, allocations: 13.84 kB / 393.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.3603, allocations: 50.56 kB / 393.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.3604, allocations: 42.64 kB / 393.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.3604, allocations: 14.81 kB / 393.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006394/0.3611, allocations: 0.5986 MB / 394.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3611, allocations: 0 / 394.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007274/0.3618, allocations: 289.1 kB / 394.6 MB, free: 8.637 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.0001281/0.362, allocations: 117.1 kB / 394.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.3629, allocations: 0.6557 MB / 395.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3629, allocations: 0 / 395.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.3632, allocations: 322.9 kB / 395.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.3641, allocations: 183.6 kB / 395.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.367, allocations: 2.27 MB / 398.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/0.3677, allocations: 1.348 MB / 399.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.3681, allocations: 205.8 kB / 399.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.3683, allocations: 55.44 kB / 399.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3683, allocations: 4 kB / 399.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of Templates: time 0.2015/0.5698, allocations: 10.01 MB / 409.8 MB, free: 10.57 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches