Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 91.39 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2268, allocations: 51.4 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.002924/0.2298, allocations: 3.254 MB / 415.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.2314, allocations: 1.263 MB / 416.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2317, allocations: 23.88 kB / 416.6 MB, free: 21.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2319, allocations: 119.2 kB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000627/0.2326, allocations: 261.6 kB / 417 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2328, allocations: 107.9 kB / 417.1 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009762/0.2338, allocations: 1.642 MB / 418.7 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.2346, allocations: 0.9916 MB / 419.7 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.2351, allocations: 489.9 kB / 420.2 MB, free: 17.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.2357, allocations: 0.63 MB / 420.8 MB, free: 17.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.2358, allocations: 68 kB / 420.9 MB, free: 16.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.236, allocations: 76 kB / 420.9 MB, free: 16.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.2362, allocations: 342.8 kB / 421.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.2367, allocations: 0.639 MB / 421.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2378, allocations: 1.909 MB / 423.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2378, allocations: 0 / 423.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2378, allocations: 0 / 423.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.2378, allocations: 0 / 423.8 MB, free: 13.97 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002032/0.2398, allocations: 1.465 MB / 425.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2399, allocations: 8.031 kB / 425.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.2403, allocations: 183.2 kB / 425.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.2413, allocations: 0.8383 MB / 426.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.2414, allocations: 82.59 kB / 426.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.2415, allocations: 111.9 kB / 426.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.2435, allocations: 1.548 MB / 428.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.2435, allocations: 3.938 kB / 428.1 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.2436, allocations: 44 kB / 428.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2436, allocations: 28 kB / 428.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.2453, allocations: 1.316 MB / 429.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004977/0.2503, allocations: 4.252 MB / 433.7 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.2511, allocations: 1.324 MB / 435 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.2517, allocations: 470.5 kB / 435.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.2517, allocations: 8.422 kB / 435.5 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2517, allocations: 39 kB / 435.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.356e-06/0.2517, allocations: 4 kB / 435.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002638/0.2544, allocations: 1.966 MB / 437.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2545, allocations: 59.84 kB / 437.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.2555, allocations: 0.8087 MB / 438.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2556, allocations: 33.7 kB / 438.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.256, allocations: 0.5414 MB / 438.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.2561, allocations: 173.5 kB / 439.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.2561, allocations: 15.94 kB / 439.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2563, allocations: 386.7 kB / 439.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.2568, allocations: 312.8 kB / 439.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.2573, allocations: 411.3 kB / 440.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009378/0.2583, allocations: 0.7145 MB / 440.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2583, allocations: 0 / 440.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001352/0.2597, allocations: 0.9243 MB / 441.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2597, allocations: 8 kB / 441.9 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2597, allocations: 7.938 kB / 441.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/0.26, allocations: 116.8 kB / 442 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.2605, allocations: 119.9 kB / 442.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.2626, allocations: 2.174 MB / 444.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.263, allocations: 27.98 kB / 444.3 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.263, allocations: 16 kB / 444.3 MB, free: 8.691 MB / 314.7 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.0006488/0.2637, allocations: 473.4 kB / 444.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2638, allocations: 71.16 kB / 444.8 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.2639, allocations: 87.08 kB / 444.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.264, allocations: 8 kB / 444.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.264, allocations: 0 / 444.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.264, allocations: 3.984 kB / 444.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.267, allocations: 2.037 MB / 447 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.2671, allocations: 3.984 kB / 447 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.2674, allocations: 92.08 kB / 447.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.2677, allocations: 104.9 kB / 447.2 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.2677, allocations: 19.98 kB / 447.2 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.2698, allocations: 2.119 MB / 449.3 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2698, allocations: 4.031 kB / 449.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.2715, allocations: 1.211 MB / 450.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.2717, allocations: 168.2 kB / 450.7 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.2718, allocations: 16.06 kB / 450.7 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.2722, allocations: 52.02 kB / 450.8 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2723, allocations: 44.38 kB / 450.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2724, allocations: 19.98 kB / 450.8 MB, free: 1.891 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007417/0.2731, allocations: 0.5771 MB / 451.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.2731, allocations: 4 kB / 451.4 MB, free: 1.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007315/0.2739, allocations: 215.9 kB / 451.6 MB, free: 1.105 MB / 314.7 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.0001663/0.2741, allocations: 115.2 kB / 451.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.2754, allocations: 0.8242 MB / 452.5 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2754, allocations: 0 / 452.5 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.2761, allocations: 0.4976 MB / 453 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.277, allocations: 176.2 kB / 453.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.2806, allocations: 2.731 MB / 455.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/0.2816, allocations: 1.336 MB / 457.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004297/0.282, allocations: 177.8 kB / 457.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2821, allocations: 51.42 kB / 457.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2821, allocations: 4 kB / 457.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01687/0.299, allocations: 9.832 MB / 467.3 MB, free: 1.316 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches