Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001402/0.001402, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001595/0.001595, allocations: 169.6 kB / 25.7 MB, free: 8.449 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 0.9516/0.9516, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.553e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007585/0.007611, allocations: 5.745 MB / 257.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.01111, allocations: 2.166 MB / 259.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.01147, allocations: 43.62 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.01239, allocations: 401.4 kB / 259.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.01358, allocations: 0.5976 MB / 260.5 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.01397, allocations: 235.7 kB / 260.7 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002289/0.01625, allocations: 2.38 MB / 263.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.01748, allocations: 1.056 MB / 264.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.01958, allocations: 1.598 MB / 265.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02071, allocations: 1.197 MB / 267 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.02093, allocations: 288 kB / 267.3 MB, free: 7.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.02135, allocations: 375.8 kB / 267.6 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000402/0.02175, allocations: 0.7441 MB / 268.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.02233, allocations: 0.8576 MB / 269.2 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.02381, allocations: 2.029 MB / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02382, allocations: 0 / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02382, allocations: 0 / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.02383, allocations: 4 kB / 271.3 MB, free: 3.414 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.002272/0.02611, allocations: 2.211 MB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.02614, allocations: 23.91 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.02664, allocations: 336.6 kB / 273.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.02745, allocations: 0.7081 MB / 274.5 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/0.02753, allocations: 132 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.02771, allocations: 180.3 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.0291, allocations: 1.491 MB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.02913, allocations: 0 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.02923, allocations: 79.97 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.02931, allocations: 95.58 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.03033, allocations: 0.5059 MB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.03614, allocations: 4.768 MB / 281.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.03661, allocations: 395.1 kB / 282.2 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.03682, allocations: 170.9 kB / 282.3 MB, free: 7.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.03692, allocations: 36.48 kB / 282.4 MB, free: 7.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.03695, allocations: 43.06 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.763e-06/0.03695, allocations: 0 / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001294/0.03825, allocations: 0.8778 MB / 283.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.03828, allocations: 85.61 kB / 283.4 MB, free: 6.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.03925, allocations: 0.923 MB / 284.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.03928, allocations: 37.7 kB / 284.3 MB, free: 5.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.03963, allocations: 0.9017 MB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.03973, allocations: 198.4 kB / 285.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.03992, allocations: 230.6 kB / 285.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.04001, allocations: 357.8 kB / 286 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.04016, allocations: 129.4 kB / 286.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.04056, allocations: 0.772 MB / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.04121, allocations: 0.9969 MB / 287.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.04122, allocations: 11.94 kB / 287.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008786/0.0421, allocations: 0.8566 MB / 288.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.04212, allocations: 12 kB / 288.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.04214, allocations: 27.94 kB / 288.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.04251, allocations: 143.7 kB / 288.9 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.04306, allocations: 315.3 kB / 289.2 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.04449, allocations: 1.761 MB / 291 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.04489, allocations: 79.8 kB / 291.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.04494, allocations: 59.98 kB / 291.1 MB, free: 14.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.04517, allocations: 196.2 kB / 291.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.04529, allocations: 103.8 kB / 291.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.0457, allocations: 357.6 kB / 291.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.04571, allocations: 11.94 kB / 291.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.04571, allocations: 7.938 kB / 291.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.04571, allocations: 0 / 291.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.04708, allocations: 1.476 MB / 293.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.04709, allocations: 8.062 kB / 293.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.04732, allocations: 111.9 kB / 293.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.04762, allocations: 127.7 kB / 293.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.04764, allocations: 19.92 kB / 293.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000975/0.04862, allocations: 1.771 MB / 295.3 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.04862, allocations: 4 kB / 295.3 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.04916, allocations: 0.6174 MB / 295.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.04932, allocations: 123.2 kB / 296.1 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.04939, allocations: 15.98 kB / 296.1 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.04963, allocations: 40.05 kB / 296.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.0497, allocations: 51.8 kB / 296.2 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.04973, allocations: 19.98 kB / 296.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000333/0.05006, allocations: 435.2 kB / 296.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05006, allocations: 0 / 296.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006819/0.05074, allocations: 344 kB / 296.9 MB, free: 8.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.05104, allocations: 175.7 kB / 297.1 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008765/0.05191, allocations: 0.6253 MB / 297.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.677e-05/0.05194, allocations: 21.81 kB / 297.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.05221, allocations: 309 kB / 298.1 MB, free: 7.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.05283, allocations: 268.3 kB / 298.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.05568, allocations: 2.726 MB / 301 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.05598, allocations: 429.3 kB / 301.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002906/0.05627, allocations: 154 kB / 301.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.05671, allocations: 317.1 kB / 301.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.05671, allocations: 3.938 kB / 301.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of Templates: time 0.02066/0.07737, allocations: 16.81 MB / 318.7 MB, free: 2.293 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9825451858341694]