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.001756/0.001756, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001468/0.001468, allocations: 164.5 kB / 25.02 MB, free: 8.945 MB / 18.57 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.467/1.467, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.887e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01083/0.01086, allocations: 6.85 MB / 257.2 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006007/0.01687, allocations: 2.637 MB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.01807, allocations: 75.38 kB / 259.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.0203, allocations: 0.578 MB / 260.5 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.02375, allocations: 0.7995 MB / 261.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.02504, allocations: 443.3 kB / 261.7 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004785/0.02982, allocations: 3.532 MB / 265.3 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.03296, allocations: 1.86 MB / 267.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006096/0.03906, allocations: 2.485 MB / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.04265, allocations: 1.832 MB / 271.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000804/0.04346, allocations: 460 kB / 271.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.04505, allocations: 0.6518 MB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.04651, allocations: 1.289 MB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002332/0.04884, allocations: 1.353 MB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008031/0.05687, allocations: 6.19 MB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.05687, allocations: 4 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05687, allocations: 0 / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001591/0.05703, allocations: 0 / 281.4 MB, free: 8.656 MB / 266.7 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.009261/0.06629, allocations: 3.75 MB / 285.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.06634, allocations: 12.03 kB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.06792, allocations: 0.6391 MB / 285.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/0.07195, allocations: 1.959 MB / 287.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.07218, allocations: 222.2 kB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005131/0.0727, allocations: 292.3 kB / 288.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/0.08151, allocations: 4.442 MB / 292.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/0.08158, allocations: 0 / 292.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.08204, allocations: 120 kB / 292.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002136/0.08226, allocations: 145.9 kB / 292.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007047/0.0893, allocations: 3.482 MB / 296.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/0.1099, allocations: 9.434 MB / 305.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.1128, allocations: 1.636 MB / 307.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.116, allocations: 1.427 MB / 308.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.1163, allocations: 52.97 kB / 309 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.1163, allocations: 47.56 kB / 309 MB, free: 12.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.987e-06/0.1163, allocations: 0 / 309 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=133): time 0.0114/0.1277, allocations: 5.199 MB / 314.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.1278, allocations: 90.42 kB / 314.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.1314, allocations: 1.721 MB / 316 MB, free: 5.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.1315, allocations: 53.69 kB / 316.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.1328, allocations: 1.364 MB / 317.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.1333, allocations: 472 kB / 317.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005592/0.1339, allocations: 267.5 kB / 318.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.134, allocations: 305.1 kB / 318.5 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.1356, allocations: 0.8198 MB / 319.3 MB, free: 2.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.1376, allocations: 1.205 MB / 320.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/0.1412, allocations: 2.091 MB / 322.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.1412, allocations: 4 kB / 322.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005293/0.1465, allocations: 2.586 MB / 325.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1465, allocations: 8.188 kB / 325.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.1466, allocations: 16 kB / 325.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/0.149, allocations: 0.502 MB / 325.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.1505, allocations: 327.5 kB / 326 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006871/0.1574, allocations: 4.242 MB / 330.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.1588, allocations: 87.88 kB / 330.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.159, allocations: 63.98 kB / 330.4 MB, free: 6.727 MB / 314.7 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.002084/0.1611, allocations: 1.036 MB / 331.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/0.1618, allocations: 238.7 kB / 331.7 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.1661, allocations: 2.124 MB / 333.8 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/0.1662, allocations: 19.98 kB / 333.8 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.1662, allocations: 4 kB / 333.8 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.1662, allocations: 3.984 kB / 333.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.1763, allocations: 4.483 MB / 338.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.1763, allocations: 0 / 338.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.1774, allocations: 235.6 kB / 338.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.1797, allocations: 480.7 kB / 339 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.1799, allocations: 27.98 kB / 339 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.1863, allocations: 4.133 MB / 343.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.1864, allocations: 7.969 kB / 343.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/0.1929, allocations: 3.279 MB / 346.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.1942, allocations: 374.7 kB / 346.8 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/0.1946, allocations: 31.94 kB / 346.9 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.1959, allocations: 95.95 kB / 347 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.1962, allocations: 96.81 kB / 347 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.1964, allocations: 39.98 kB / 347.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002524/0.1989, allocations: 1.189 MB / 348.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1989, allocations: 4 kB / 348.3 MB, free: 4.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002452/0.2013, allocations: 0.5468 MB / 348.8 MB, free: 4.059 MB / 330.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.0007504/0.2021, allocations: 225 kB / 349 MB, free: 3.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004579/0.2067, allocations: 2.134 MB / 351.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.2067, allocations: 2 kB / 351.2 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/0.2092, allocations: 1.175 MB / 352.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.2121, allocations: 436.6 kB / 352.8 MB, free: 72 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1171/0.3292, allocations: 5.828 MB / 358.6 MB, free: 99.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.3307, allocations: 1.868 MB / 360.5 MB, free: 98.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.332, allocations: 473.5 kB / 360.9 MB, free: 98.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.3324, allocations: 131.1 kB / 361.1 MB, free: 98.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3324, allocations: 0 / 361.1 MB, free: 98.88 MB / 330.7 MB Notification: Performance of Templates: time 0.037/0.3694, allocations: 27.64 MB / 388.7 MB, free: 72.78 MB / 330.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/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: 5.633210161933675]