Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001803/0.001803, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002196/0.002196, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.31, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005469/0.3155, allocations: 3.47 MB / 435 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3178, allocations: 0.9853 MB / 436 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.3182, allocations: 27.81 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.3187, allocations: 162.8 kB / 436.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.3198, allocations: 286.4 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.3202, allocations: 143.8 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001652/0.3218, allocations: 1.401 MB / 438 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.3229, allocations: 0.6232 MB / 438.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.3238, allocations: 0.6426 MB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3252, allocations: 0.79 MB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.3255, allocations: 156 kB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.326, allocations: 164 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.3264, allocations: 462.7 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000739/0.3272, allocations: 0.599 MB / 441.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.3293, allocations: 2.062 MB / 443.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3293, allocations: 0 / 443.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3293, allocations: 0 / 443.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.3293, allocations: 7.938 kB / 443.5 MB, free: 10.66 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003193/0.3325, allocations: 1.626 MB / 445.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3326, allocations: 8.031 kB / 445.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.3331, allocations: 184 kB / 445.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.3348, allocations: 0.8434 MB / 446.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.3348, allocations: 86.34 kB / 446.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.335, allocations: 104 kB / 446.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.3376, allocations: 1.699 MB / 448.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3376, allocations: 0 / 448.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.3378, allocations: 48 kB / 448.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.3378, allocations: 28 kB / 448.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.3403, allocations: 1.312 MB / 449.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.3468, allocations: 3.634 MB / 453.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.3478, allocations: 0.6084 MB / 453.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.3485, allocations: 434.6 kB / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.3485, allocations: 8.375 kB / 454.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3486, allocations: 39 kB / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.3486, allocations: 0 / 454.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.0034/0.352, allocations: 1.881 MB / 456 MB, free: 13.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.352, allocations: 55.84 kB / 456.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3531, allocations: 0.8047 MB / 456.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.3532, allocations: 37.7 kB / 456.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.3536, allocations: 0.5544 MB / 457.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.3538, allocations: 190.4 kB / 457.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.354, allocations: 102.3 kB / 457.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.3543, allocations: 390.7 kB / 458.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.3548, allocations: 305.1 kB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.3553, allocations: 408.1 kB / 458.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3564, allocations: 0.7057 MB / 459.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3564, allocations: 4 kB / 459.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001433/0.3578, allocations: 0.9075 MB / 460.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3578, allocations: 11.98 kB / 460.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3578, allocations: 4 kB / 460.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.3581, allocations: 100.8 kB / 460.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.3586, allocations: 132 kB / 460.7 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.361, allocations: 2.199 MB / 462.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.3614, allocations: 31.97 kB / 462.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.3614, allocations: 20.06 kB / 463 MB, free: 6.652 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.0007423/0.3621, allocations: 457.4 kB / 463.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.3623, allocations: 83.52 kB / 463.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.3624, allocations: 91.14 kB / 463.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3624, allocations: 8 kB / 463.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3624, allocations: 4 kB / 463.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3625, allocations: 3.984 kB / 463.6 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.3656, allocations: 1.747 MB / 465.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3656, allocations: 8.031 kB / 465.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.3659, allocations: 79.89 kB / 465.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.3661, allocations: 108.7 kB / 465.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.3662, allocations: 16 kB / 465.6 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.3684, allocations: 2.172 MB / 467.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3684, allocations: 4.031 kB / 467.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3702, allocations: 1.204 MB / 468.9 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.3704, allocations: 87.55 kB / 469 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.3705, allocations: 15.98 kB / 469 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.3709, allocations: 39.95 kB / 469.1 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.371, allocations: 44.36 kB / 469.1 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.371, allocations: 19.94 kB / 469.1 MB, free: 268 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007899/0.3718, allocations: 0.5692 MB / 469.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3718, allocations: 8.062 kB / 469.7 MB, free: 15.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007645/0.3726, allocations: 208 kB / 469.9 MB, free: 15.48 MB / 382.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.0001699/0.3728, allocations: 119.1 kB / 470 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3742, allocations: 0.7928 MB / 470.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3742, allocations: 0 / 470.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.3749, allocations: 480.8 kB / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.3757, allocations: 170.2 kB / 471.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.3793, allocations: 2.244 MB / 473.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.3801, allocations: 0.7486 MB / 474.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.3805, allocations: 181.6 kB / 474.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3806, allocations: 47.44 kB / 474.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3806, allocations: 0 / 474.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.02089/0.4015, allocations: 11.68 MB / 486.4 MB, free: 15.12 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.033772934228182]