Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001252/0.001252, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002041/0.003294, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001075/0.001075, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002434, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.879/0.879, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1332/1.012, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.346e-05, allocations: 5.406 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004802/0.004826, allocations: 3.694 MB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.006349, allocations: 1.044 MB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.006545, allocations: 27.81 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.006826, allocations: 166.8 kB / 226.8 MB, free: 11.21 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.007453, allocations: 294.1 kB / 227.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.007703, allocations: 131.8 kB / 227.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.008885, allocations: 1.466 MB / 228.6 MB, free: 9.316 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.009783, allocations: 0.5951 MB / 229.2 MB, free: 8.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009636/0.01075, allocations: 1.012 MB / 230.3 MB, free: 7.656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.01159, allocations: 0.7639 MB / 231 MB, free: 6.891 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.01176, allocations: 156 kB / 231.2 MB, free: 6.738 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.01197, allocations: 156 kB / 231.3 MB, free: 6.586 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003387/0.01231, allocations: 395 kB / 231.7 MB, free: 6.199 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004764/0.01278, allocations: 427.2 kB / 232.1 MB, free: 5.781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.01387, allocations: 1.145 MB / 233.3 MB, free: 4.633 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.01389, allocations: 4 kB / 233.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01389, allocations: 0 / 233.3 MB, free: 4.629 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.01391, allocations: 0 / 233.3 MB, free: 4.629 MB / 234.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.002129/0.01603, allocations: 1.746 MB / 235 MB, free: 2.852 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.01607, allocations: 12.03 kB / 235 MB, free: 2.84 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.01633, allocations: 188.8 kB / 235.2 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.01703, allocations: 484.7 kB / 235.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.01709, allocations: 78.59 kB / 235.8 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.01724, allocations: 108.4 kB / 235.9 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.01878, allocations: 0.9187 MB / 236.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.01881, allocations: 0 / 236.8 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.01891, allocations: 48 kB / 236.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.01893, allocations: 28 kB / 236.9 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005833/0.01951, allocations: 255.1 kB / 237.1 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.02318, allocations: 2.468 MB / 239.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.02358, allocations: 280.4 kB / 239.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.02384, allocations: 154.8 kB / 240 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.02386, allocations: 12.44 kB / 240 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.02389, allocations: 35.06 kB / 240.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.02389, allocations: 7.938 kB / 240.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001407/0.0253, allocations: 0.7471 MB / 240.8 MB, free: 12.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.02533, allocations: 55.91 kB / 240.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.02584, allocations: 0.5078 MB / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.02588, allocations: 37.7 kB / 241.4 MB, free: 12.15 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.02614, allocations: 488.9 kB / 241.9 MB, free: 11.67 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.02628, allocations: 190.3 kB / 242.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.02644, allocations: 98.25 kB / 242.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.02658, allocations: 382.6 kB / 242.5 MB, free: 11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.0267, allocations: 49.28 kB / 242.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.02688, allocations: 148.4 kB / 242.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.02753, allocations: 250 kB / 243 MB, free: 10.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.02753, allocations: 4 kB / 243 MB, free: 10.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005561/0.02809, allocations: 334.9 kB / 243.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.0281, allocations: 8 kB / 243.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02811, allocations: 0 / 243.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.02831, allocations: 61.08 kB / 243.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.02881, allocations: 143.8 kB / 243.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.03013, allocations: 1.623 MB / 245.1 MB, free: 8.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.03035, allocations: 12 kB / 245.2 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.03038, allocations: 16 kB / 245.2 MB, free: 8.199 MB / 250.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.0001935/0.03058, allocations: 144.5 kB / 245.3 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.03068, allocations: 75.89 kB / 245.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.03079, allocations: 78.83 kB / 245.5 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.03079, allocations: 7.984 kB / 245.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.0308, allocations: 0 / 245.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.0308, allocations: 7.984 kB / 245.5 MB, free: 7.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.03241, allocations: 1.12 MB / 246.6 MB, free: 6.699 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.03242, allocations: 4 kB / 246.6 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.03277, allocations: 123.9 kB / 246.7 MB, free: 6.574 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.03288, allocations: 71.52 kB / 246.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.03304, allocations: 63.77 kB / 246.9 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.03307, allocations: 12 kB / 246.9 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.03436, allocations: 1.706 MB / 248.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.03437, allocations: 7.938 kB / 248.6 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.03501, allocations: 0.5035 MB / 249.1 MB, free: 4.082 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.03509, allocations: 16.06 kB / 249.1 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.03537, allocations: 35.92 kB / 249.1 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.03545, allocations: 36.42 kB / 249.2 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.03548, allocations: 12 kB / 249.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002942/0.03578, allocations: 248.6 kB / 249.4 MB, free: 3.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03578, allocations: 0 / 249.4 MB, free: 3.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006228/0.0364, allocations: 212 kB / 249.6 MB, free: 3.531 MB / 250.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.0001217/0.03652, allocations: 100.3 kB / 249.7 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008266/0.03735, allocations: 398 kB / 250.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/0.03737, allocations: 8.625 kB / 250.1 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.03776, allocations: 295.2 kB / 250.4 MB, free: 2.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.03845, allocations: 223.2 kB / 250.6 MB, free: 2.492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009703/0.04816, allocations: 2.046 MB / 252.7 MB, free: 396 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.04849, allocations: 321.5 kB / 253 MB, free: 52 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.04875, allocations: 81.75 kB / 253.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.04922, allocations: 205.2 kB / 253.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04922, allocations: 0 / 253.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Templates: time 0.01911/0.06833, allocations: 11.63 MB / 264.9 MB, free: 4.156 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.68220570217818]