Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009086/0.0009086, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004871/0.004871, allocations: 160.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8622/0.8622, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.806e-05, allocations: 6.219 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.005209/0.005227, allocations: 6.952 MB / 332.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.008272, allocations: 2.612 MB / 335.4 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.00874, allocations: 87.38 kB / 335.4 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.009548, allocations: 0.5857 MB / 336 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.01069, allocations: 0.8073 MB / 336.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.01121, allocations: 423.3 kB / 337.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.01309, allocations: 3.423 MB / 340.7 MB, free: 404 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.01467, allocations: 1.957 MB / 342.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.01711, allocations: 2.498 MB / 345.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.01857, allocations: 1.84 MB / 347 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.01889, allocations: 460 kB / 347.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.01949, allocations: 0.6596 MB / 348.1 MB, free: 8.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.02014, allocations: 1.301 MB / 349.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.02096, allocations: 1.364 MB / 350.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.0244, allocations: 6.213 MB / 357 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0244, allocations: 0 / 357 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02441, allocations: 0 / 357 MB, free: 40 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.02444, allocations: 0 / 357 MB, free: 40 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.003762/0.0282, allocations: 3.801 MB / 360.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.02824, allocations: 12.03 kB / 360.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.02893, allocations: 442.5 kB / 361.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.03105, allocations: 2.126 MB / 363.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.03116, allocations: 226.2 kB / 363.5 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.03143, allocations: 284.4 kB / 363.8 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.0355, allocations: 4.47 MB / 368.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.03553, allocations: 3.938 kB / 368.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.03572, allocations: 124 kB / 368.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.03582, allocations: 153.8 kB / 368.6 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/0.03922, allocations: 3.505 MB / 372.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008817/0.04804, allocations: 9.29 MB / 381.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.04951, allocations: 1.636 MB / 383 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.05088, allocations: 1.408 MB / 384.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.05102, allocations: 52.97 kB / 384.5 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.05105, allocations: 55.48 kB / 384.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.667e-06/0.05106, allocations: 0 / 384.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.005195/0.05625, allocations: 5.113 MB / 389.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.0563, allocations: 94.42 kB / 389.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.05774, allocations: 1.725 MB / 391.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.0578, allocations: 45.7 kB / 391.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.05838, allocations: 1.38 MB / 392.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.0586, allocations: 472 kB / 393.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.05886, allocations: 271.5 kB / 393.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.05893, allocations: 309.1 kB / 393.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.0597, allocations: 0.8198 MB / 394.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/0.06064, allocations: 1.212 MB / 395.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001723/0.06236, allocations: 2.078 MB / 398 MB, free: 6.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.06236, allocations: 4 kB / 398 MB, free: 6.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002389/0.06475, allocations: 2.504 MB / 400.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.06477, allocations: 8 kB / 400.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.06479, allocations: 12 kB / 400.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008967/0.06568, allocations: 475.1 kB / 401 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.06634, allocations: 331.5 kB / 401.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.0696, allocations: 4.205 MB / 405.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.07017, allocations: 87.86 kB / 405.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.07025, allocations: 56 kB / 405.7 MB, free: 14.42 MB / 378.7 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.001199/0.07145, allocations: 1.059 MB / 406.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.07166, allocations: 186.8 kB / 406.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.0737, allocations: 2.116 MB / 409 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.07372, allocations: 16 kB / 409 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.07372, allocations: 4 kB / 409 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.07373, allocations: 7.969 kB / 409 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.07814, allocations: 4.488 MB / 413.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.07815, allocations: 3.984 kB / 413.5 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.07861, allocations: 231.6 kB / 413.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008239/0.07944, allocations: 453 kB / 414.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.07949, allocations: 27.98 kB / 414.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.08247, allocations: 4.121 MB / 418.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.08247, allocations: 0 / 418.4 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.08528, allocations: 3.232 MB / 421.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.08574, allocations: 374.7 kB / 422 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.08585, allocations: 36.06 kB / 422 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.0863, allocations: 95.83 kB / 422.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.08643, allocations: 100.8 kB / 422.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.08648, allocations: 39.98 kB / 422.2 MB, free: 13.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.08751, allocations: 1.193 MB / 423.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08751, allocations: 0 / 423.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001019/0.08853, allocations: 0.5546 MB / 424 MB, free: 11.86 MB / 394.7 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.0003951/0.08892, allocations: 231.9 kB / 424.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.09102, allocations: 2.118 MB / 426.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.09103, allocations: 0 / 426.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.09209, allocations: 1.152 MB / 427.5 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.09309, allocations: 416.2 kB / 427.9 MB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/0.09863, allocations: 5.739 MB / 433.6 MB, free: 2.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.09987, allocations: 1.819 MB / 435.4 MB, free: 276 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.1002, allocations: 136.5 kB / 435.6 MB, free: 140 kB / 394.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1002, allocations: 0 / 435.6 MB, free: 140 kB / 394.7 MB Notification: Performance of Templates: time 0.1466/0.2468, allocations: 50.89 MB / 486.5 MB, free: 86.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.047470500692725]