Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.004891/0.004891, allocations: 109.4 kB / 21.98 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 212.2 kB / 25.29 MB, free: 3.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 259 MB, free: 8.039 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.89 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2604, allocations: 53.37 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.0103/0.2707, allocations: 7.853 MB / 441 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.2767, allocations: 2.741 MB / 443.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.2781, allocations: 87.38 kB / 443.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.2797, allocations: 0.5859 MB / 444.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.2827, allocations: 0.7692 MB / 445.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.2842, allocations: 427.3 kB / 445.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005327/0.2895, allocations: 3.288 MB / 448.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.2926, allocations: 2.011 MB / 450.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.2962, allocations: 1.71 MB / 452.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/0.3004, allocations: 2.083 MB / 454.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.3016, allocations: 460 kB / 455.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.3036, allocations: 0.7221 MB / 455.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001585/0.3052, allocations: 1.27 MB / 457.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.3087, allocations: 1.972 MB / 459.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00876/0.3174, allocations: 6.126 MB / 465.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3174, allocations: 0 / 465.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3174, allocations: 0 / 465.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.3176, allocations: 0 / 465.3 MB, free: 6.711 MB / 366.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.01035/0.328, allocations: 3.817 MB / 469.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.328, allocations: 8.031 kB / 469.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.3296, allocations: 442.5 kB / 469.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004674/0.3343, allocations: 2.123 MB / 471.6 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.3345, allocations: 225.8 kB / 471.9 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/0.3351, allocations: 284 kB / 472.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008626/0.3438, allocations: 4.191 MB / 476.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.3438, allocations: 0 / 476.3 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/0.3441, allocations: 116 kB / 476.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/0.3443, allocations: 137.9 kB / 476.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006556/0.3509, allocations: 3.497 MB / 480.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.3704, allocations: 10.67 MB / 490.7 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.3731, allocations: 1.651 MB / 492.4 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.3757, allocations: 1.403 MB / 493.8 MB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.3759, allocations: 48.95 kB / 493.8 MB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.3759, allocations: 51.48 kB / 493.9 MB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 4.298e-06/0.3759, allocations: 4 kB / 493.9 MB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.009804/0.3857, allocations: 5.121 MB / 499 MB, free: 4.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.3858, allocations: 94.42 kB / 499.1 MB, free: 4.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/0.3889, allocations: 1.914 MB / 0.4893 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.389, allocations: 53.69 kB / 0.4893 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.3901, allocations: 1.361 MB / 0.4907 GB, free: 1.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.3906, allocations: 483.9 kB / 0.4911 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.391, allocations: 267.5 kB / 0.4914 GB, free: 344 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3912, allocations: 309 kB / 0.4917 GB, free: 32 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.3925, allocations: 0.8198 MB / 0.4925 GB, free: 15.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.3942, allocations: 1.182 MB / 0.4936 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.3973, allocations: 2.078 MB / 0.4957 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3973, allocations: 4 kB / 0.4957 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004526/0.4018, allocations: 2.52 MB / 0.4981 GB, free: 9.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.4018, allocations: 12 kB / 0.4981 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.4018, allocations: 8 kB / 0.4981 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.4037, allocations: 484 kB / 0.4986 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4051, allocations: 331.5 kB / 0.4989 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.4108, allocations: 4.301 MB / 0.5031 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4122, allocations: 83.86 kB / 0.5032 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.4123, allocations: 60 kB / 0.5033 GB, free: 3.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.001785/0.4141, allocations: 1.063 MB / 0.5043 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/0.4146, allocations: 202.7 kB / 0.5045 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.4184, allocations: 2.133 MB / 0.5066 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/0.4185, allocations: 16 kB / 0.5066 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4185, allocations: 4 kB / 0.5066 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.4185, allocations: 11.91 kB / 0.5066 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.4278, allocations: 5.146 MB / 0.5116 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4278, allocations: 8.031 kB / 0.5116 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.4288, allocations: 223.6 kB / 0.5119 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.4307, allocations: 460.7 kB / 0.5123 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.4308, allocations: 35.98 kB / 0.5123 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005745/0.4366, allocations: 4.2 MB / 0.5164 GB, free: 6.051 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.4366, allocations: 4.031 kB / 0.5164 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.4424, allocations: 3.264 MB / 0.5196 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.4436, allocations: 386.7 kB / 0.52 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.4439, allocations: 31.98 kB / 0.52 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.4449, allocations: 95.97 kB / 0.5201 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.4451, allocations: 104.7 kB / 0.5202 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.701e-05/0.4452, allocations: 36 kB / 0.5202 GB, free: 2.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002127/0.4473, allocations: 1.346 MB / 0.5216 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4473, allocations: 0 / 0.5216 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001707/0.449, allocations: 0.5468 MB / 0.5221 GB, free: 216 kB / 430.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.0006184/0.4497, allocations: 234.2 kB / 0.5223 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003865/0.4535, allocations: 2.125 MB / 0.5244 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4535, allocations: 0 / 0.5244 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.4556, allocations: 1.161 MB / 0.5255 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.4578, allocations: 0.5008 MB / 0.526 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.468, allocations: 5.819 MB / 0.5317 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.4704, allocations: 2.37 MB / 0.534 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/0.4711, allocations: 143.4 kB / 0.5341 GB, free: 3.742 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4711, allocations: 8 kB / 0.5342 GB, free: 3.734 MB / 446.1 MB Notification: Performance of Templates: time 0.2566/0.7277, allocations: 51.46 MB / 0.5844 GB, free: 61.46 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.735223863972351]