Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 43.92 kB / 374.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00576/0.1104, allocations: 3.813 MB / 431.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1981/0.3085, allocations: 1.077 MB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003848/0.3089, allocations: 28.62 kB / 432.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.3093, allocations: 156.5 kB / 432.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.3102, allocations: 309.2 kB / 432.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3104, allocations: 133.7 kB / 433 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.3119, allocations: 1.413 MB / 434.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.3129, allocations: 0.9105 MB / 435.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008968/0.3138, allocations: 0.6626 MB / 436 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.3149, allocations: 0.8013 MB / 436.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.3151, allocations: 159.2 kB / 436.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.3154, allocations: 160.8 kB / 437.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.3159, allocations: 473.2 kB / 437.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007815/0.3166, allocations: 0.7442 MB / 438.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.3191, allocations: 2.081 MB / 440.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3191, allocations: 1.062 kB / 440.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3191, allocations: 0.8906 kB / 440.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-05/0.3192, allocations: 0 / 440.4 MB, free: 5.875 MB / 350.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.00364/0.3228, allocations: 1.73 MB / 442.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3229, allocations: 14.5 kB / 442.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.3234, allocations: 177 kB / 442.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.3248, allocations: 0.9132 MB / 443.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.3249, allocations: 83.91 kB / 443.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.325, allocations: 117.7 kB / 443.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.3277, allocations: 1.574 MB / 445 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.3277, allocations: 0 / 445 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3278, allocations: 50.14 kB / 445 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.3278, allocations: 27.06 kB / 445 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.3301, allocations: 1.332 MB / 446.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007029/0.3372, allocations: 4.278 MB / 450.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.3383, allocations: 1.296 MB / 452 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.3393, allocations: 0.4934 MB / 452.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.3393, allocations: 9.594 kB / 452.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.3394, allocations: 42.28 kB / 452.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.415e-06/0.3394, allocations: 0 / 452.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001654/0.341, allocations: 0.8801 MB / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3411, allocations: 57.03 kB / 453.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3423, allocations: 0.8281 MB / 454.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.3424, allocations: 42.33 kB / 454.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.3428, allocations: 0.5552 MB / 454.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.343, allocations: 188.3 kB / 455 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3432, allocations: 106.3 kB / 455.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3434, allocations: 389.3 kB / 455.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.3439, allocations: 304 kB / 455.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.3444, allocations: 394.4 kB / 456.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3454, allocations: 0.6903 MB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3454, allocations: 4 kB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001399/0.3468, allocations: 0.8238 MB / 457.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3469, allocations: 7.156 kB / 457.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.3469, allocations: 6.234 kB / 457.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3469, allocations: 5.266 kB / 457.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3475, allocations: 148 kB / 457.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.3475, allocations: 13.36 kB / 457.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.348, allocations: 58.39 kB / 458 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.3481, allocations: 22.22 kB / 458 MB, free: 12.12 MB / 366.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.0007936/0.3489, allocations: 464.6 kB / 458.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.349, allocations: 82.34 kB / 458.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3493, allocations: 101.3 kB / 458.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.3493, allocations: 6.469 kB / 458.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.3493, allocations: 0 / 458.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3493, allocations: 0 / 458.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/0.3527, allocations: 1.945 MB / 460.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3527, allocations: 1.594 kB / 460.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.3532, allocations: 117 kB / 460.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.3532, allocations: 8.797 kB / 460.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.3532, allocations: 16.7 kB / 460.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3532, allocations: 2.812 kB / 460.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3532, allocations: 2.031 kB / 460.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.355, allocations: 1.13 MB / 461.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.3554, allocations: 177.7 kB / 462 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.3556, allocations: 12.91 kB / 462 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.356, allocations: 47.02 kB / 462.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3561, allocations: 47.34 kB / 462.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.3562, allocations: 14.69 kB / 462.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008864/0.3571, allocations: 0.5951 MB / 462.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 462.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009269/0.358, allocations: 284.2 kB / 463 MB, free: 9.094 MB / 366.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.0001805/0.3582, allocations: 125.1 kB / 463.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.3593, allocations: 0.6254 MB / 463.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3593, allocations: 1.156 kB / 463.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.3598, allocations: 310 kB / 464.1 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3608, allocations: 179.3 kB / 464.2 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/0.3651, allocations: 2.307 MB / 466.5 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.3663, allocations: 1.322 MB / 467.9 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.3666, allocations: 54 kB / 467.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3666, allocations: 0 / 467.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of Templates: time 0.02218/0.3888, allocations: 13.54 MB / 481.5 MB, free: 9.027 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.385637290019076]