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.001536/0.001536, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001812/0.001812, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.619/1.619, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001649/0.001649, allocations: 39.94 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.354, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.0067/0.3607, allocations: 3.475 MB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.3636, allocations: 0.9853 MB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.364, allocations: 27.81 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.3644, allocations: 154.8 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3656, allocations: 290.4 kB / 437.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.366, allocations: 147.8 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.368, allocations: 1.405 MB / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.3691, allocations: 0.6389 MB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.3704, allocations: 0.6503 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.3717, allocations: 0.7667 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.372, allocations: 159.9 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.3724, allocations: 160 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005754/0.373, allocations: 462.7 kB / 441.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.3741, allocations: 0.6068 MB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.3771, allocations: 2.062 MB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.3771, allocations: 0 / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.3771, allocations: 0 / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.822e-05/0.3771, allocations: 0 / 444.3 MB, free: 10.67 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.004399/0.3815, allocations: 1.63 MB / 445.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/0.3816, allocations: 8.031 kB / 445.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.3824, allocations: 172 kB / 446.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.3846, allocations: 0.8512 MB / 446.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.3847, allocations: 82.34 kB / 447 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.3849, allocations: 112 kB / 447.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.3883, allocations: 1.699 MB / 448.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.3884, allocations: 3.938 kB / 448.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.3885, allocations: 44 kB / 448.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.3885, allocations: 28 kB / 448.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.3913, allocations: 1.312 MB / 450.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008589/0.3999, allocations: 3.638 MB / 453.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.401, allocations: 0.6045 MB / 454.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.4018, allocations: 434.5 kB / 454.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.4018, allocations: 4.438 kB / 454.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.981e-05/0.4019, allocations: 39 kB / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.988e-06/0.4019, allocations: 0 / 454.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.004452/0.4063, allocations: 1.884 MB / 456.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.4064, allocations: 55.84 kB / 456.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.4077, allocations: 0.8008 MB / 457.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.4078, allocations: 45.64 kB / 457.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005734/0.4084, allocations: 0.5506 MB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.4086, allocations: 194.3 kB / 458.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.4088, allocations: 102.3 kB / 458.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003926/0.4092, allocations: 390.7 kB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/0.41, allocations: 309 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.4106, allocations: 400.2 kB / 459.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4121, allocations: 0.698 MB / 460.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4121, allocations: 0 / 460.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001804/0.4139, allocations: 0.9191 MB / 461.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.414, allocations: 8 kB / 461.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.414, allocations: 4.312 kB / 461.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.4144, allocations: 112.7 kB / 461.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.415, allocations: 119.9 kB / 461.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00335/0.4183, allocations: 2.207 MB / 463.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.4189, allocations: 23.98 kB / 463.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.419, allocations: 24 kB / 463.7 MB, free: 6.66 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.001148/0.4201, allocations: 457.4 kB / 464.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.4203, allocations: 75.53 kB / 464.3 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.4205, allocations: 91.08 kB / 464.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4205, allocations: 4 kB / 464.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.4205, allocations: 4 kB / 464.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4205, allocations: 8.047 kB / 464.4 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.4243, allocations: 1.743 MB / 466.1 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.4243, allocations: 12.23 kB / 466.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.4247, allocations: 83.89 kB / 466.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.425, allocations: 108.7 kB / 466.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.425, allocations: 20.14 kB / 466.3 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002799/0.4278, allocations: 2.168 MB / 468.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.4278, allocations: 7.969 kB / 468.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.4299, allocations: 1.2 MB / 469.7 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.4302, allocations: 95.53 kB / 469.8 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.4303, allocations: 12 kB / 469.8 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4307, allocations: 44.02 kB / 469.8 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4308, allocations: 44.36 kB / 469.9 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.4308, allocations: 23.92 kB / 469.9 MB, free: 268 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009362/0.4318, allocations: 0.5654 MB / 470.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4318, allocations: 0 / 470.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.4327, allocations: 212 kB / 470.7 MB, free: 15.49 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.0002261/0.433, allocations: 115.1 kB / 470.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.4346, allocations: 0.7964 MB / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4346, allocations: 0 / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.4354, allocations: 477.7 kB / 472.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.4363, allocations: 175 kB / 472.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.4408, allocations: 2.247 MB / 474.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.4418, allocations: 0.7408 MB / 475.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004823/0.4423, allocations: 185.5 kB / 475.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.4424, allocations: 59.42 kB / 475.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4424, allocations: 0 / 475.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02404/0.4665, allocations: 11.88 MB / 487.3 MB, free: 14.91 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/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.595169402993633]