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.00233/0.00233, allocations: 99.53 kB / 21.74 MB, free: 2.684 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.002548/0.002548, allocations: 168.3 kB / 25.03 MB, free: 8.414 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.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.493e-06/1.493e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.572e-05, allocations: 10.25 kB / 250.4 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.0113/0.01133, allocations: 7.519 MB / 257.9 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.0179, allocations: 2.7 MB / 260.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.01924, allocations: 83.31 kB / 260.7 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.02073, allocations: 0.5781 MB / 261.3 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.02302, allocations: 0.8034 MB / 262.1 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.02404, allocations: 447.3 kB / 262.5 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004564/0.02861, allocations: 3.52 MB / 266 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.03145, allocations: 1.872 MB / 267.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.03636, allocations: 2.51 MB / 270.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.03993, allocations: 2 MB / 272.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008569/0.04078, allocations: 460 kB / 272.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.04236, allocations: 0.6518 MB / 273.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.04391, allocations: 1.313 MB / 274.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.04619, allocations: 1.376 MB / 276.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008335/0.05452, allocations: 6.225 MB / 282.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.05453, allocations: 4 kB / 282.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05453, allocations: 0 / 282.4 MB, free: 3.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001665/0.0547, allocations: 0 / 282.4 MB, free: 3.711 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.01044/0.06513, allocations: 4.31 MB / 286.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.06518, allocations: 8.031 kB / 286.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.06683, allocations: 0.6353 MB / 287.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.0712, allocations: 1.739 MB / 289.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.07144, allocations: 222.2 kB / 289.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005208/0.07196, allocations: 292.3 kB / 289.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008834/0.08079, allocations: 4.264 MB / 293.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/0.08085, allocations: 0 / 293.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/0.08117, allocations: 123.9 kB / 294 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.08138, allocations: 141.9 kB / 294.1 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006366/0.08775, allocations: 2.83 MB / 297 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1329/0.2206, allocations: 12.71 MB / 309.7 MB, free: 49.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.2227, allocations: 1.323 MB / 311 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.2248, allocations: 1.135 MB / 312.1 MB, free: 48.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.225, allocations: 55.25 kB / 312.2 MB, free: 48.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.2251, allocations: 52.61 kB / 312.3 MB, free: 48.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.967e-06/0.2251, allocations: 7.594 kB / 312.3 MB, free: 48.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.007046/0.2321, allocations: 3.952 MB / 316.2 MB, free: 46.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2322, allocations: 97.64 kB / 316.3 MB, free: 46.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.2343, allocations: 1.948 MB / 318.3 MB, free: 45.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.2344, allocations: 47.3 kB / 318.3 MB, free: 45.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/0.2351, allocations: 1.543 MB / 319.8 MB, free: 44.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.2355, allocations: 0.516 MB / 320.4 MB, free: 44.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004349/0.2359, allocations: 332.7 kB / 320.7 MB, free: 43.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.236, allocations: 482.3 kB / 321.2 MB, free: 43.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/0.2368, allocations: 0.543 MB / 321.7 MB, free: 43.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.2378, allocations: 1.145 MB / 322.8 MB, free: 42.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.2396, allocations: 1.776 MB / 324.6 MB, free: 40.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2396, allocations: 4 kB / 324.6 MB, free: 40.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003064/0.2427, allocations: 2.048 MB / 326.7 MB, free: 38.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2427, allocations: 11.94 kB / 326.7 MB, free: 38.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2427, allocations: 12 kB / 326.7 MB, free: 38.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.2447, allocations: 488.2 kB / 327.2 MB, free: 37.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.2459, allocations: 335.5 kB / 327.5 MB, free: 37.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.25, allocations: 4.484 MB / 332 MB, free: 32.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.2513, allocations: 89.94 kB / 332.1 MB, free: 32.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.2514, allocations: 60 kB / 332.1 MB, free: 32.48 MB / 282.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.001304/0.2527, allocations: 0.8863 MB / 333 MB, free: 31.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.2531, allocations: 224.9 kB / 333.2 MB, free: 31.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.2557, allocations: 1.588 MB / 334.8 MB, free: 29.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.2558, allocations: 16 kB / 334.8 MB, free: 29.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2558, allocations: 8 kB / 334.8 MB, free: 29.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.2558, allocations: 7.969 kB / 334.9 MB, free: 29.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007445/0.2632, allocations: 4.763 MB / 339.6 MB, free: 24.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.2632, allocations: 4 kB / 339.6 MB, free: 24.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/0.2642, allocations: 227.9 kB / 339.8 MB, free: 24.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.2661, allocations: 439.4 kB / 340.3 MB, free: 24.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.2662, allocations: 38.33 kB / 340.3 MB, free: 24.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.27, allocations: 4.189 MB / 344.5 MB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.27, allocations: 4 kB / 344.5 MB, free: 19.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.2735, allocations: 2.306 MB / 346.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.2745, allocations: 342.3 kB / 347.1 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.2748, allocations: 27.94 kB / 347.2 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/0.2757, allocations: 99.92 kB / 347.3 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.276, allocations: 103.2 kB / 347.4 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.276, allocations: 43.98 kB / 347.4 MB, free: 16.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.2774, allocations: 1.142 MB / 348.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2774, allocations: 0 / 348.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00243/0.2799, allocations: 0.5507 MB / 349.1 MB, free: 15.25 MB / 282.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.0007708/0.2806, allocations: 226.9 kB / 349.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.2835, allocations: 1.77 MB / 351.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.2835, allocations: 0 / 351.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.2849, allocations: 1.024 MB / 352.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.287, allocations: 429.6 kB / 352.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.2947, allocations: 5.243 MB / 357.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.2961, allocations: 1.711 MB / 359.5 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.2972, allocations: 361.8 kB / 359.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.2976, allocations: 124.5 kB / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2976, allocations: 0 / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of Templates: time 0.05208/0.3497, allocations: 27.65 MB / 387.6 MB, free: 8.582 MB / 314.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] 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.420791829004884]