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.001483/0.001483, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001614/0.001614, allocations: 206.8 kB / 24.46 MB, free: 3.902 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.363/1.363, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001863/0.001863, allocations: 67.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2342, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009722/0.2439, allocations: 7.858 MB / 439.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005443/0.2494, allocations: 2.726 MB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.2504, allocations: 71.62 kB / 442.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.2517, allocations: 0.5914 MB / 443.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.2535, allocations: 0.7652 MB / 444.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.2543, allocations: 415.4 kB / 444.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003655/0.258, allocations: 3.284 MB / 447.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.2607, allocations: 2.003 MB / 449.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.2637, allocations: 1.672 MB / 451.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/0.267, allocations: 2.083 MB / 453.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007372/0.2677, allocations: 460 kB / 454 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.269, allocations: 0.6714 MB / 454.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.2704, allocations: 1.266 MB / 455.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.2731, allocations: 1.964 MB / 457.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007564/0.2807, allocations: 6.128 MB / 464 MB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2807, allocations: 0 / 464 MB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2807, allocations: 0 / 464 MB, free: 7.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.2808, allocations: 0 / 464 MB, free: 7.266 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.009551/0.2904, allocations: 3.884 MB / 467.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2904, allocations: 12.03 kB / 467.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.292, allocations: 446.5 kB / 468.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004925/0.2969, allocations: 2.195 MB / 470.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.2971, allocations: 233.8 kB / 470.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006888/0.2978, allocations: 283.9 kB / 471 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008273/0.3061, allocations: 4.191 MB / 475.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.3062, allocations: 0 / 475.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.3065, allocations: 116 kB / 475.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.3067, allocations: 137.9 kB / 475.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00698/0.3136, allocations: 3.49 MB / 479 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.3346, allocations: 10.79 MB / 489.7 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.3378, allocations: 2.564 MB / 492.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002601/0.3404, allocations: 1.407 MB / 493.7 MB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.3407, allocations: 122.1 kB / 493.8 MB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.3407, allocations: 51.56 kB / 493.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=128): time 3.427e-06/0.3407, allocations: 0 / 493.9 MB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.00994/0.3507, allocations: 5.204 MB / 499.1 MB, free: 3.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.3508, allocations: 90.42 kB / 499.2 MB, free: 3.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3538, allocations: 1.918 MB / 0.4894 GB, free: 1.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.354, allocations: 45.7 kB / 0.4894 GB, free: 1.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.3551, allocations: 1.369 MB / 0.4907 GB, free: 24 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000489/0.3556, allocations: 475.9 kB / 0.4912 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/0.3561, allocations: 271.5 kB / 0.4914 GB, free: 15.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3562, allocations: 309.1 kB / 0.4917 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.3576, allocations: 0.8198 MB / 0.4925 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.3592, allocations: 1.175 MB / 0.4937 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.3623, allocations: 2.082 MB / 0.4957 GB, free: 10.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.3623, allocations: 7.938 kB / 0.4957 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004584/0.3669, allocations: 2.531 MB / 0.4982 GB, free: 8.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3669, allocations: 8 kB / 0.4982 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.367, allocations: 8 kB / 0.4982 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.3688, allocations: 487.1 kB / 0.4987 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.3702, allocations: 331.5 kB / 0.499 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.376, allocations: 4.396 MB / 0.5033 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.3775, allocations: 79.94 kB / 0.5034 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.3777, allocations: 63.92 kB / 0.5034 GB, free: 2.578 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.001784/0.3795, allocations: 1.062 MB / 0.5045 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005241/0.38, allocations: 198.7 kB / 0.5047 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.3838, allocations: 2.141 MB / 0.5067 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/0.3838, allocations: 16 kB / 0.5068 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3838, allocations: 7.984 kB / 0.5068 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3839, allocations: 3.984 kB / 0.5068 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/0.3933, allocations: 5.166 MB / 0.5118 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.3933, allocations: 8.031 kB / 0.5118 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.3943, allocations: 227.6 kB / 0.512 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/0.396, allocations: 452.3 kB / 0.5125 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.3962, allocations: 35.98 kB / 0.5125 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.4017, allocations: 4.304 MB / 0.5167 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4017, allocations: 4.094 kB / 0.5167 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.407, allocations: 3.26 MB / 0.5199 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.4082, allocations: 467.7 kB / 0.5203 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.4084, allocations: 35.97 kB / 0.5204 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/0.4094, allocations: 91.97 kB / 0.5205 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.4096, allocations: 100.8 kB / 0.5206 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/0.4097, allocations: 39.98 kB / 0.5206 GB, free: 0.668 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001998/0.4117, allocations: 1.342 MB / 0.5219 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4117, allocations: 0 / 0.5219 GB, free: 15.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0016/0.4133, allocations: 0.5507 MB / 0.5224 GB, free: 14.78 MB / 446.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.0005549/0.4138, allocations: 235.9 kB / 0.5227 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.4174, allocations: 2.117 MB / 0.5247 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.4174, allocations: 7.938 kB / 0.5247 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.4193, allocations: 1.157 MB / 0.5259 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.4214, allocations: 0.4966 MB / 0.5264 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00968/0.4311, allocations: 5.825 MB / 0.5321 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.4333, allocations: 2.374 MB / 0.5344 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/0.4339, allocations: 143.4 kB / 0.5345 GB, free: 2.305 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4339, allocations: 4 kB / 0.5345 GB, free: 2.301 MB / 446.1 MB Notification: Performance of Templates: time 0.2364/0.6703, allocations: 51.44 MB / 0.5847 GB, free: 60.96 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.84727383684367]