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.001392/0.001392, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001476/0.001476, allocations: 204.2 kB / 23.73 MB, free: 4.379 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.729/1.729, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001616/0.001616, allocations: 51.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.382, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.007807/0.3898, allocations: 3.463 MB / 435 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.3931, allocations: 0.9854 MB / 436 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.3935, allocations: 31.81 kB / 436.1 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.394, allocations: 154.8 kB / 436.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.3953, allocations: 290.4 kB / 436.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.3958, allocations: 147.7 kB / 436.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3978, allocations: 1.409 MB / 438 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.399, allocations: 0.635 MB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4005, allocations: 0.6464 MB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4022, allocations: 0.7744 MB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.4025, allocations: 156 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.4029, allocations: 160 kB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006469/0.4035, allocations: 462.7 kB / 440.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.4045, allocations: 0.6029 MB / 441.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.4077, allocations: 2.058 MB / 443.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4077, allocations: 4 kB / 443.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4077, allocations: 0 / 443.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.4077, allocations: 0 / 443.5 MB, free: 10.69 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.004647/0.4124, allocations: 1.634 MB / 445.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.4124, allocations: 8.031 kB / 445.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.4132, allocations: 172 kB / 445.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.4155, allocations: 0.8473 MB / 446.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4156, allocations: 94.33 kB / 446.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.4158, allocations: 108 kB / 446.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.4199, allocations: 1.695 MB / 448.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.4199, allocations: 0 / 448.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.4201, allocations: 51.98 kB / 448.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.4201, allocations: 24 kB / 448.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.4234, allocations: 1.316 MB / 449.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009335/0.4327, allocations: 3.63 MB / 453.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4341, allocations: 0.6085 MB / 453.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.4351, allocations: 434.4 kB / 454.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4352, allocations: 8.438 kB / 454.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.4352, allocations: 38.98 kB / 454.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.4352, allocations: 0 / 454.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.005027/0.4403, allocations: 1.881 MB / 456.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.4404, allocations: 55.84 kB / 456.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.442, allocations: 0.8047 MB / 456.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.4421, allocations: 33.7 kB / 456.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006713/0.4427, allocations: 0.5584 MB / 457.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.443, allocations: 190.4 kB / 457.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.4432, allocations: 102.3 kB / 457.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.4435, allocations: 394.7 kB / 458.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.4442, allocations: 301.1 kB / 458.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.445, allocations: 404.2 kB / 458.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4464, allocations: 0.7057 MB / 459.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4464, allocations: 0 / 459.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002186/0.4486, allocations: 0.923 MB / 460.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4486, allocations: 4 kB / 460.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4487, allocations: 4 kB / 460.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.4491, allocations: 109.1 kB / 460.6 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.4498, allocations: 123.8 kB / 460.7 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.4528, allocations: 2.207 MB / 462.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.4532, allocations: 32.03 kB / 463 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.4533, allocations: 16 kB / 463 MB, free: 6.668 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.001036/0.4543, allocations: 465.4 kB / 463.4 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4545, allocations: 79.52 kB / 463.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.4546, allocations: 87.08 kB / 463.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4546, allocations: 8 kB / 463.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4546, allocations: 0 / 463.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.4546, allocations: 3.984 kB / 463.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.4578, allocations: 1.751 MB / 465.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4578, allocations: 0 / 465.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.4582, allocations: 91.88 kB / 465.5 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.4584, allocations: 104.9 kB / 465.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.4585, allocations: 12 kB / 465.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.4607, allocations: 2.176 MB / 467.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4607, allocations: 4 kB / 467.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4625, allocations: 1.204 MB / 469 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.4627, allocations: 91.53 kB / 469 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.4628, allocations: 8 kB / 469 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.4632, allocations: 47.95 kB / 469.1 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4633, allocations: 44.36 kB / 469.1 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.4633, allocations: 16.06 kB / 469.2 MB, free: 284 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008357/0.4642, allocations: 0.5732 MB / 469.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4642, allocations: 0 / 469.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008204/0.465, allocations: 208 kB / 469.9 MB, free: 15.5 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.0001625/0.4651, allocations: 123 kB / 470.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4666, allocations: 0.7966 MB / 470.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4666, allocations: 0 / 470.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.4674, allocations: 480.8 kB / 471.3 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.0008509/0.4682, allocations: 170.3 kB / 471.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.472, allocations: 2.237 MB / 473.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.4729, allocations: 0.7524 MB / 474.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.4733, allocations: 181.6 kB / 474.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4735, allocations: 51.44 kB / 474.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4735, allocations: 0 / 474.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Templates: time 0.02177/0.4952, allocations: 11.89 MB / 486.6 MB, free: 14.91 MB / 398.1 MB " [Timeout remaining time 659] 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.273542812094092]