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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.8 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.92 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2878, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005187/0.293, allocations: 3.803 MB / 424.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.2951, allocations: 0.9659 MB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.2954, allocations: 19.94 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.2958, allocations: 158.8 kB / 425.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.2966, allocations: 274.5 kB / 426.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2969, allocations: 131.7 kB / 426.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.2985, allocations: 1.389 MB / 427.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009133/0.2994, allocations: 0.6348 MB / 428.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.3002, allocations: 0.6231 MB / 428.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.3013, allocations: 0.7744 MB / 429.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.3015, allocations: 156 kB / 429.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.3017, allocations: 156 kB / 429.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.3021, allocations: 466.7 kB / 430.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.303, allocations: 0.7311 MB / 431.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.3051, allocations: 2.041 MB / 433.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3051, allocations: 0 / 433.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3051, allocations: 0 / 433.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.3051, allocations: 0 / 433.2 MB, free: 2.727 MB / 334.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.002901/0.308, allocations: 1.69 MB / 434.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3081, allocations: 8.031 kB / 434.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.3083, allocations: 152 kB / 435 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.3097, allocations: 0.8779 MB / 435.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.3098, allocations: 86.34 kB / 436 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.3099, allocations: 112 kB / 436.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.3124, allocations: 1.552 MB / 437.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3124, allocations: 0 / 437.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3125, allocations: 40 kB / 437.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.3126, allocations: 28 kB / 437.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.3147, allocations: 1.316 MB / 439 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006556/0.3212, allocations: 4.183 MB / 443.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3225, allocations: 1.288 MB / 444.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.3231, allocations: 438.5 kB / 444.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3232, allocations: 4.438 kB / 444.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3232, allocations: 42.98 kB / 445 MB, free: 6.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.3232, allocations: 0 / 445 MB, free: 6.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003358/0.3266, allocations: 1.96 MB / 446.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3266, allocations: 59.78 kB / 447 MB, free: 4.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3277, allocations: 0.8242 MB / 447.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.3277, allocations: 37.69 kB / 447.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.3281, allocations: 0.5506 MB / 448.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3284, allocations: 178.5 kB / 448.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.3285, allocations: 102.2 kB / 448.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3287, allocations: 390.8 kB / 449 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.3292, allocations: 304.8 kB / 449.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.3298, allocations: 403.4 kB / 449.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.3308, allocations: 0.7028 MB / 450.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3308, allocations: 8 kB / 450.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001522/0.3323, allocations: 0.9131 MB / 451.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3323, allocations: 7.938 kB / 451.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.3323, allocations: 4 kB / 451.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.3326, allocations: 108.8 kB / 451.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.3331, allocations: 123.8 kB / 451.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.3358, allocations: 2.361 MB / 454 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.3362, allocations: 28.02 kB / 454 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.3362, allocations: 27.92 kB / 454 MB, free: 13.07 MB / 366.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.0007273/0.337, allocations: 453.5 kB / 454.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3371, allocations: 79.53 kB / 454.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.3372, allocations: 91.14 kB / 454.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3372, allocations: 4 kB / 454.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3373, allocations: 4 kB / 454.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3373, allocations: 7.922 kB / 454.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.3405, allocations: 2.005 MB / 456.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3405, allocations: 4.156 kB / 456.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.3408, allocations: 87.89 kB / 456.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.3411, allocations: 104.8 kB / 456.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.3411, allocations: 15.98 kB / 456.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.3434, allocations: 2.333 MB / 459.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3434, allocations: 4.062 kB / 459.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.345, allocations: 1.197 MB / 460.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.3452, allocations: 176.5 kB / 460.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.3453, allocations: 12 kB / 460.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.3457, allocations: 48.02 kB / 460.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.3458, allocations: 48.31 kB / 460.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.3458, allocations: 12 kB / 460.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007276/0.3466, allocations: 0.581 MB / 461.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 4 kB / 461.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007113/0.3473, allocations: 208 kB / 461.5 MB, free: 5.336 MB / 366.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.0001644/0.3474, allocations: 119.2 kB / 461.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.3488, allocations: 0.7929 MB / 462.4 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3488, allocations: 0.625 kB / 462.4 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.3495, allocations: 484.8 kB / 462.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.3503, allocations: 175.3 kB / 463 MB, free: 3.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.3539, allocations: 2.247 MB / 465.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.355, allocations: 1.336 MB / 466.6 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.3555, allocations: 189.9 kB / 466.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3556, allocations: 47.44 kB / 466.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3556, allocations: 0 / 466.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02034/0.3759, allocations: 10.87 MB / 477.7 MB, free: 5.094 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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: 4.7645560670644045]