Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.001911/0.001911, allocations: 101.9 kB / 21.93 MB, free: 5.203 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.002354/0.002354, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.484/1.484, allocations: 207.7 MB / 236.1 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 66.58 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007569/0.2613, allocations: 6.844 MB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.2664, allocations: 2.621 MB / 407.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.2678, allocations: 77.09 kB / 407.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.2693, allocations: 0.5801 MB / 407.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.2716, allocations: 0.772 MB / 408.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2727, allocations: 443.3 kB / 408.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.2765, allocations: 3.409 MB / 412.3 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.2793, allocations: 1.85 MB / 414.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.283, allocations: 1.701 MB / 415.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.2872, allocations: 2.005 MB / 417.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.2883, allocations: 460.9 kB / 418.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.2902, allocations: 0.6569 MB / 419 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.2917, allocations: 1.258 MB / 420.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002892/0.2946, allocations: 1.586 MB / 421.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.3018, allocations: 6.13 MB / 428 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3018, allocations: 0 / 428 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3018, allocations: 0 / 428 MB, free: 4.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.302, allocations: 0 / 428 MB, free: 4.715 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.008671/0.3107, allocations: 3.793 MB / 431.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3107, allocations: 8.031 kB / 431.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3117, allocations: 414.6 kB / 432.2 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/0.3153, allocations: 1.916 MB / 434.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.3155, allocations: 221.8 kB / 434.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.3159, allocations: 287.9 kB / 434.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007556/0.3235, allocations: 4.434 MB / 439 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.3235, allocations: 0 / 439 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002846/0.3238, allocations: 124 kB / 439.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.324, allocations: 137.8 kB / 439.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.3302, allocations: 3.478 MB / 442.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.3491, allocations: 9.267 MB / 452 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.3518, allocations: 1.633 MB / 453.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.3544, allocations: 1.411 MB / 455.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.3547, allocations: 48.91 kB / 455.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.975e-05/0.3547, allocations: 51.56 kB / 455.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.388e-06/0.3547, allocations: 0 / 455.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=133): time 0.00993/0.3647, allocations: 5.144 MB / 460.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.3647, allocations: 90.42 kB / 460.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.3675, allocations: 1.721 MB / 462.1 MB, free: 2.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.3676, allocations: 45.7 kB / 462.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.3687, allocations: 1.368 MB / 463.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.3691, allocations: 479.9 kB / 464 MB, free: 208 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004721/0.3696, allocations: 271.6 kB / 464.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3697, allocations: 309.1 kB / 464.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.371, allocations: 0.8197 MB / 465.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.3726, allocations: 1.208 MB / 466.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.3756, allocations: 2.087 MB / 468.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.3756, allocations: 4 kB / 468.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004439/0.3801, allocations: 2.516 MB / 471.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3801, allocations: 11.91 kB / 471.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.3801, allocations: 15.94 kB / 471.2 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.3819, allocations: 479.3 kB / 471.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3832, allocations: 335.5 kB / 472 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.3889, allocations: 4.207 MB / 476.2 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3903, allocations: 87.94 kB / 476.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.3904, allocations: 60 kB / 476.4 MB, free: 3.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001844/0.3923, allocations: 1.048 MB / 477.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.3927, allocations: 194.8 kB / 477.6 MB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/0.3965, allocations: 2.12 MB / 479.7 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/0.3965, allocations: 16.05 kB / 479.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3966, allocations: 4 kB / 479.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3966, allocations: 11.92 kB / 479.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008426/0.405, allocations: 4.468 MB / 484.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.405, allocations: 8 kB / 484.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.406, allocations: 235.9 kB / 484.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.4077, allocations: 461 kB / 484.9 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/0.4078, allocations: 35.97 kB / 485 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005616/0.4134, allocations: 4.098 MB / 489.1 MB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.4134, allocations: 4 kB / 489.1 MB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/0.4187, allocations: 3.232 MB / 492.3 MB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.4198, allocations: 370.7 kB / 492.7 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.4201, allocations: 24 kB / 492.7 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.421, allocations: 104 kB / 492.8 MB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.4212, allocations: 96.66 kB / 492.9 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/0.4213, allocations: 47.98 kB / 492.9 MB, free: 2.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001798/0.4231, allocations: 1.185 MB / 494.1 MB, free: 1.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4231, allocations: 0 / 494.1 MB, free: 1.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001744/0.4249, allocations: 0.5507 MB / 494.7 MB, free: 0.8633 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.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 (104): * Single equations (assignments): 99 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005561/0.4254, allocations: 230.6 kB / 494.9 MB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003626/0.4291, allocations: 2.125 MB / 497 MB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4291, allocations: 4 kB / 497 MB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.4311, allocations: 1.168 MB / 498.2 MB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.433, allocations: 412.7 kB / 498.6 MB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.4435, allocations: 5.803 MB / 0.4926 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002273/0.4457, allocations: 1.807 MB / 0.4943 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.4464, allocations: 139.4 kB / 0.4945 GB, free: 5.047 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4464, allocations: 0 / 0.4945 GB, free: 5.047 MB / 414.1 MB Notification: Performance of Templates: time 0.0735/0.5199, allocations: 50.64 MB / 0.5439 GB, free: 2.289 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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: 13.0762775153853]