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.001232/0.001232, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00199/0.003222, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009809/0.0009809, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.002054, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.91/0.91, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1688/1.079, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.453e-06/1.453e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.653e-05, allocations: 10.11 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005751/0.005767, allocations: 5.769 MB / 227.8 MB, free: 10.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.009341, allocations: 2.177 MB / 229.9 MB, free: 8.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.009913, allocations: 43.69 kB / 230 MB, free: 8.023 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.01069, allocations: 409.3 kB / 230.4 MB, free: 7.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01185, allocations: 0.5899 MB / 231 MB, free: 7.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.0122, allocations: 235.6 kB / 231.2 MB, free: 6.797 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.01403, allocations: 2.4 MB / 233.6 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.01501, allocations: 1.063 MB / 234.7 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002187/0.0172, allocations: 1.714 MB / 236.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001933/0.01913, allocations: 1.2 MB / 237.6 MB, free: 368 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009792/0.02011, allocations: 284 kB / 237.9 MB, free: 84 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.0212, allocations: 379.7 kB / 238.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.02186, allocations: 0.604 MB / 238.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.02323, allocations: 0.7137 MB / 239.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.02577, allocations: 1.905 MB / 241.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.02578, allocations: 3.938 kB / 241.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.02578, allocations: 0 / 241.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.185e-05/0.02586, allocations: 0 / 241.4 MB, free: 12.48 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.004307/0.03016, allocations: 2.645 MB / 244.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.0302, allocations: 8.031 kB / 244.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.03108, allocations: 417.8 kB / 244.5 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.03251, allocations: 0.7081 MB / 245.2 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.03262, allocations: 135.9 kB / 245.4 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.03287, allocations: 176.3 kB / 245.5 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.03523, allocations: 1.488 MB / 247 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.03527, allocations: 0 / 247 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.03543, allocations: 79.98 kB / 247.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.03554, allocations: 95.52 kB / 247.2 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.03682, allocations: 0.506 MB / 247.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006484/0.0433, allocations: 4.796 MB / 252.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.04378, allocations: 394.8 kB / 252.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.04397, allocations: 159 kB / 253 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.04408, allocations: 40.48 kB / 253.1 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.04412, allocations: 39.06 kB / 253.1 MB, free: 416 kB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 2.415e-06/0.04412, allocations: 0 / 253.1 MB, free: 416 kB / 250.7 MB Notification: Performance of matching and sorting (n=53): time 0.001683/0.0458, allocations: 0.8973 MB / 254 MB, free: 15.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.04583, allocations: 59.91 kB / 254.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.04656, allocations: 0.923 MB / 255 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.04659, allocations: 37.7 kB / 255 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.04709, allocations: 0.8979 MB / 255.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.04721, allocations: 206.3 kB / 256.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.0474, allocations: 234.6 kB / 256.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.04751, allocations: 353.8 kB / 256.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.04766, allocations: 137.4 kB / 256.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.04811, allocations: 0.7681 MB / 257.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.04895, allocations: 1.067 MB / 258.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.04897, allocations: 11.94 kB / 258.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009574/0.04992, allocations: 0.8524 MB / 259.5 MB, free: 9.238 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.04994, allocations: 16 kB / 259.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.04996, allocations: 24.11 kB / 259.6 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.05034, allocations: 155.8 kB / 259.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.05091, allocations: 331.3 kB / 260 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.05217, allocations: 1.765 MB / 261.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.05273, allocations: 87.78 kB / 261.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.05279, allocations: 52 kB / 261.9 MB, free: 6.723 MB / 266.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.0003509/0.05314, allocations: 204.1 kB / 262.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.05329, allocations: 95.83 kB / 262.2 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000431/0.05372, allocations: 361.6 kB / 262.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.05372, allocations: 7.938 kB / 262.6 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.05373, allocations: 4 kB / 262.6 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.05373, allocations: 3.984 kB / 262.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.05549, allocations: 1.476 MB / 264.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.0555, allocations: 3.984 kB / 264.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.05577, allocations: 115.9 kB / 264.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.05599, allocations: 131.5 kB / 264.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.05633, allocations: 127.4 kB / 264.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.05635, allocations: 16 kB / 264.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.05753, allocations: 1.775 MB / 266.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.05753, allocations: 7.938 kB / 266.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.05817, allocations: 0.6213 MB / 266.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.05827, allocations: 15.98 kB / 266.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.05853, allocations: 39.98 kB / 266.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.05861, allocations: 47.86 kB / 267 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.05863, allocations: 19.98 kB / 267 MB, free: 1.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003892/0.05902, allocations: 435.2 kB / 267.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05902, allocations: 4.031 kB / 267.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009186/0.05994, allocations: 344 kB / 267.8 MB, free: 0.6406 MB / 266.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.000418/0.06036, allocations: 172.4 kB / 267.9 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.06166, allocations: 0.6561 MB / 268.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.541e-05/0.06171, allocations: 22.19 kB / 268.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.06207, allocations: 344.3 kB / 268.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.06359, allocations: 2.727 MB / 271.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.0745, allocations: 2.884 MB / 274.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.0749, allocations: 433.3 kB / 275 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008085/0.0757, allocations: 158.1 kB / 275.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.0762, allocations: 321.1 kB / 275.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.0762, allocations: 0 / 275.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of Templates: time 0.1296/0.2058, allocations: 16.89 MB / 292.3 MB, free: 47.9 MB / 282.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.057093526236713]