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.0008273/0.0008273, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003483/0.003483, allocations: 141.1 kB / 24.68 MB, free: 9.43 MB / 18.57 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 0.8305/0.8305, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.058e-05, allocations: 6.219 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003062/0.003083, allocations: 3.443 MB / 323.1 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004268, allocations: 0.9268 MB / 324.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.004443, allocations: 27.81 kB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.004678, allocations: 158.8 kB / 324.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005832/0.005261, allocations: 298.1 kB / 324.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.005441, allocations: 131.8 kB / 324.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008724/0.006314, allocations: 1.435 MB / 326.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005322/0.006846, allocations: 0.6235 MB / 326.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.007564, allocations: 0.92 MB / 327.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.008218, allocations: 0.717 MB / 328.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.008341, allocations: 156 kB / 328.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.008472, allocations: 156 kB / 328.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.008707, allocations: 474.6 kB / 329.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.009033, allocations: 0.5067 MB / 329.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.01017, allocations: 2.072 MB / 331.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01017, allocations: 0 / 331.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01017, allocations: 0 / 331.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.0102, allocations: 0 / 331.7 MB, free: 9.75 MB / 298.7 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.001677/0.01187, allocations: 1.611 MB / 333.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01191, allocations: 8.031 kB / 333.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.01206, allocations: 144 kB / 333.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008396/0.0129, allocations: 0.8271 MB / 334.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.01294, allocations: 86.59 kB / 334.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.01305, allocations: 108.4 kB / 334.5 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.01458, allocations: 1.707 MB / 336.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.0146, allocations: 0 / 336.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.01466, allocations: 48 kB / 336.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01467, allocations: 24 kB / 336.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.01598, allocations: 1.312 MB / 337.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.01939, allocations: 3.62 MB / 341.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.01995, allocations: 0.6187 MB / 341.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.02036, allocations: 434.7 kB / 342.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.02038, allocations: 4.5 kB / 342.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.0204, allocations: 39.06 kB / 342.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.673e-06/0.0204, allocations: 0 / 342.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001904/0.02231, allocations: 1.877 MB / 344.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.02234, allocations: 59.91 kB / 344.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.02295, allocations: 0.793 MB / 345 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.02297, allocations: 33.7 kB / 345 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.02322, allocations: 0.5622 MB / 345.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.0233, allocations: 178.5 kB / 345.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02341, allocations: 102.3 kB / 345.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.02356, allocations: 382.7 kB / 346.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.0239, allocations: 313 kB / 346.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.02422, allocations: 400.3 kB / 346.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.02483, allocations: 0.7021 MB / 347.6 MB, free: 9.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02483, allocations: 11.94 kB / 347.7 MB, free: 9.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008501/0.02568, allocations: 0.9116 MB / 348.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.0257, allocations: 12.06 kB / 348.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.0257, allocations: 0 / 348.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.0259, allocations: 104.7 kB / 348.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.02617, allocations: 123.9 kB / 348.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.02757, allocations: 2.223 MB / 351 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.02774, allocations: 23.98 kB / 351 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02777, allocations: 20 kB / 351.1 MB, free: 5.816 MB / 314.7 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.0003469/0.02811, allocations: 461.3 kB / 351.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.02818, allocations: 79.47 kB / 351.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.02825, allocations: 90.83 kB / 351.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02826, allocations: 8.062 kB / 351.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.02826, allocations: 0 / 351.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.02827, allocations: 3.984 kB / 351.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.02991, allocations: 1.737 MB / 353.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02992, allocations: 0 / 353.4 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.0301, allocations: 95.81 kB / 353.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001359/0.03023, allocations: 105.1 kB / 353.6 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.03025, allocations: 15.94 kB / 353.6 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.03151, allocations: 2.18 MB / 355.8 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03151, allocations: 0 / 355.8 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.03251, allocations: 1.195 MB / 357 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.0326, allocations: 87.53 kB / 357.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.03264, allocations: 15.94 kB / 357.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.03283, allocations: 52.02 kB / 357.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.0329, allocations: 40.42 kB / 357.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.03292, allocations: 23.92 kB / 357.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004439/0.03336, allocations: 0.5614 MB / 357.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03336, allocations: 0 / 357.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.03379, allocations: 208 kB / 358 MB, free: 14.67 MB / 330.7 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.0001115/0.0339, allocations: 119.1 kB / 358.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000804/0.0347, allocations: 0.8012 MB / 358.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.0347, allocations: 0 / 358.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.03511, allocations: 482.1 kB / 359.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.0356, allocations: 167 kB / 359.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.03766, allocations: 2.16 MB / 361.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.03809, allocations: 0.7251 MB / 362.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.0382, allocations: 64.42 kB / 362.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0382, allocations: 0 / 362.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of Templates: time 0.0146/0.0528, allocations: 19.17 MB / 381.7 MB, free: 6.918 MB / 346.7 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: 5.567190611734986]