Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.88 kB / 373.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.32 MB / 427.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006074/0.1163, allocations: 3.82 MB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2358/0.3522, allocations: 1.021 MB / 432 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.3525, allocations: 23.84 kB / 432 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3528, allocations: 155.9 kB / 432.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.3536, allocations: 291 kB / 432.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3539, allocations: 136.9 kB / 432.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.3552, allocations: 1.412 MB / 434 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.3561, allocations: 0.8739 MB / 434.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.3569, allocations: 0.6462 MB / 435.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009485/0.3579, allocations: 0.7735 MB / 436.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.3581, allocations: 155.8 kB / 436.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3584, allocations: 163.6 kB / 436.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004086/0.3589, allocations: 467.8 kB / 437.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.3595, allocations: 0.7332 MB / 437.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.3618, allocations: 2.057 MB / 439.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3618, allocations: 0.75 kB / 439.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3618, allocations: 0 / 439.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.262e-05/0.3619, allocations: 1.469 kB / 439.9 MB, free: 6.07 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003472/0.3653, allocations: 1.709 MB / 441.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3654, allocations: 8.719 kB / 441.6 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005545/0.3659, allocations: 178.3 kB / 441.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3673, allocations: 0.9008 MB / 442.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.3674, allocations: 83.53 kB / 442.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.3675, allocations: 110.5 kB / 442.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.3702, allocations: 1.56 MB / 444.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.3703, allocations: 0 / 444.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3704, allocations: 45.72 kB / 444.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/0.3704, allocations: 50.03 kB / 444.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/0.3726, allocations: 1.319 MB / 445.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0063/0.3789, allocations: 4.172 MB / 450 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.3799, allocations: 1.26 MB / 451.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006357/0.3805, allocations: 408.4 kB / 451.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.3806, allocations: 5.875 kB / 451.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3806, allocations: 41.69 kB / 451.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 3.667e-06/0.3806, allocations: 0 / 451.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003602/0.3842, allocations: 1.884 MB / 453.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3842, allocations: 61.47 kB / 453.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3854, allocations: 0.8257 MB / 454.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.3855, allocations: 40.05 kB / 454.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.3859, allocations: 0.5641 MB / 455.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3861, allocations: 173.3 kB / 455.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3862, allocations: 99.97 kB / 455.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3864, allocations: 383.8 kB / 455.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.3869, allocations: 300.7 kB / 456 MB, free: 12.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.3875, allocations: 397 kB / 456.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.3885, allocations: 0.6837 MB / 457.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3885, allocations: 5.344 kB / 457.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001492/0.39, allocations: 0.8993 MB / 458 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.39, allocations: 10.22 kB / 458 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.39, allocations: 2.25 kB / 458 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.3903, allocations: 110.5 kB / 458.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.3908, allocations: 114.5 kB / 458.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.3933, allocations: 2.363 MB / 460.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.3939, allocations: 28.56 kB / 460.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.3939, allocations: 17.53 kB / 460.6 MB, free: 9.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0008727/0.3948, allocations: 457.7 kB / 461.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3949, allocations: 80.5 kB / 461.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3951, allocations: 93.83 kB / 461.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3951, allocations: 5.172 kB / 461.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.3951, allocations: 5.125 kB / 461.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3951, allocations: 8.984 kB / 461.2 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.3983, allocations: 1.907 MB / 463.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3983, allocations: 1.312 kB / 463.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.3987, allocations: 78.05 kB / 463.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.3989, allocations: 106.8 kB / 463.3 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.399, allocations: 16.11 kB / 463.3 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.4016, allocations: 2.314 MB / 465.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4016, allocations: 9.094 kB / 465.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.4039, allocations: 1.154 MB / 466.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.4044, allocations: 168.1 kB / 467 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.4045, allocations: 8.25 kB / 467 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.4049, allocations: 45.64 kB / 467 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4051, allocations: 40.41 kB / 467.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.4051, allocations: 13.31 kB / 467.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000981/0.4061, allocations: 0.5933 MB / 467.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 0 / 467.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009745/0.4071, allocations: 209.7 kB / 467.9 MB, free: 4.527 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.0001765/0.4072, allocations: 113.2 kB / 468 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4086, allocations: 0.7785 MB / 468.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4086, allocations: 0 / 468.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.4093, allocations: 463.2 kB / 469.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008636/0.4102, allocations: 185 kB / 469.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.4142, allocations: 2.183 MB / 471.6 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4153, allocations: 1.341 MB / 472.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.4158, allocations: 182.8 kB / 473.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.4159, allocations: 51.42 kB / 473.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4159, allocations: 0 / 473.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of Templates: time 0.02023/0.4361, allocations: 10.6 MB / 483.8 MB, free: 6.215 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.911703552119434]