Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001761/0.001761, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.412/2.412, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001858, allocations: 50.5 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 49.45 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00928/0.1895, allocations: 3.792 MB / 353.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1931, allocations: 0.9387 MB / 354.8 MB, free: 100 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.194, allocations: 27.88 kB / 354.8 MB, free: 72 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008633/0.195, allocations: 119.3 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.1968, allocations: 254.7 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006633/0.1975, allocations: 103.9 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004134/0.2017, allocations: 1.639 MB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.2041, allocations: 0.9994 MB / 357.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2056, allocations: 0.5293 MB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.2081, allocations: 0.7315 MB / 359.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006746/0.2088, allocations: 100 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008311/0.2097, allocations: 100 kB / 359.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009916/0.2107, allocations: 402.7 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002386/0.2131, allocations: 0.6569 MB / 360.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.2167, allocations: 1.657 MB / 362.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.2168, allocations: 8 kB / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.2168, allocations: 0 / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.589e-05/0.2169, allocations: 4 kB / 362.1 MB, free: 8.73 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007804/0.2248, allocations: 1.656 MB / 363.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.273e-05/0.2249, allocations: 12.03 kB / 363.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.2257, allocations: 135.3 kB / 363.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.2288, allocations: 0.8461 MB / 364.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.229, allocations: 86.59 kB / 364.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005613/0.2296, allocations: 107.9 kB / 364.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006429/0.236, allocations: 1.56 MB / 366.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.455e-05/0.2362, allocations: 4 kB / 366.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.2365, allocations: 40 kB / 366.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.2366, allocations: 31.94 kB / 366.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005493/0.2421, allocations: 1.32 MB / 367.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/0.6215, allocations: 4.202 MB / 372.1 MB, free: 23.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.6236, allocations: 1.318 MB / 373.4 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.6249, allocations: 461.9 kB / 373.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.625, allocations: 7.031 kB / 373.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.625, allocations: 38.11 kB / 373.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 5.129e-06/0.625, allocations: 1.219 kB / 373.9 MB, free: 22.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.006171/0.6312, allocations: 1.949 MB / 375.8 MB, free: 21.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.6313, allocations: 61.31 kB / 375.9 MB, free: 21.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6333, allocations: 0.8141 MB / 376.7 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.283e-05/0.6335, allocations: 32.3 kB / 376.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.634, allocations: 0.5493 MB / 377.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.6342, allocations: 169.2 kB / 377.5 MB, free: 20.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.6345, allocations: 103.9 kB / 377.6 MB, free: 20.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.6348, allocations: 382.9 kB / 377.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.6356, allocations: 304.3 kB / 378.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009229/0.6366, allocations: 409.3 kB / 378.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.6385, allocations: 0.7023 MB / 379.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.6385, allocations: 0 / 379.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002799/0.6413, allocations: 0.9174 MB / 380.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.6414, allocations: 9.375 kB / 380.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.6414, allocations: 3.656 kB / 380.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.642, allocations: 111.2 kB / 380.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.643, allocations: 124.9 kB / 380.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.6468, allocations: 2.172 MB / 382.7 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/0.6479, allocations: 30.77 kB / 382.7 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.648, allocations: 18.86 kB / 382.7 MB, free: 17.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001644/0.6497, allocations: 454 kB / 383.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.6501, allocations: 79.22 kB / 383.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.6505, allocations: 90.28 kB / 383.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.6505, allocations: 9.812 kB / 383.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.176e-05/0.6505, allocations: 1.5 kB / 383.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6505, allocations: 3.188 kB / 383.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007374/0.6579, allocations: 2.004 MB / 385.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.658, allocations: 1.188 kB / 385.4 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.6586, allocations: 93.97 kB / 385.4 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.6591, allocations: 108.7 kB / 385.5 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/0.6592, allocations: 15.09 kB / 385.6 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.6622, allocations: 2.132 MB / 387.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.6622, allocations: 1.438 kB / 387.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.6655, allocations: 1.204 MB / 388.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.6662, allocations: 163.5 kB / 389.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.6666, allocations: 13.31 kB / 389.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.6676, allocations: 45.3 kB / 389.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.6678, allocations: 43.73 kB / 389.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.6679, allocations: 15.41 kB / 389.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001866/0.6698, allocations: 0.5903 MB / 389.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6698, allocations: 3.938 kB / 389.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002239/0.6721, allocations: 209.1 kB / 390 MB, free: 13.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003572/0.6725, allocations: 115.3 kB / 390.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.6753, allocations: 0.8237 MB / 390.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.6753, allocations: 1.062 kB / 390.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.6765, allocations: 494.1 kB / 391.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.6788, allocations: 173.1 kB / 391.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.6869, allocations: 2.687 MB / 394.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.6888, allocations: 1.314 MB / 395.6 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.6893, allocations: 52.69 kB / 395.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of SimCode: time 2.444e-06/0.6893, allocations: 4 kB / 395.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Templates: time 0.04412/0.7335, allocations: 18.74 MB / 414.4 MB, free: 8.648 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches