Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.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.001427/0.001427, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.002081/0.002081, allocations: 170.2 kB / 25.69 MB, free: 8.453 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.8687/0.8687, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|smee.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.581e-05, allocations: 6.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01018/0.01022, allocations: 12.38 MB / 264 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.01775, allocations: 4.338 MB / 268.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.01943, allocations: 87.38 kB / 268.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.02126, allocations: 0.9741 MB / 269.4 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.02436, allocations: 1.288 MB / 270.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.02533, allocations: 0.5343 MB / 271.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.02966, allocations: 4.85 MB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.03178, allocations: 2.014 MB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.0358, allocations: 3.332 MB / 281.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.03819, allocations: 2.444 MB / 283.8 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006329/0.03882, allocations: 0.543 MB / 284.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008226/0.03965, allocations: 0.6287 MB / 285 MB, free: 5.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000937/0.04058, allocations: 1.566 MB / 286.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.04214, allocations: 1.723 MB / 288.3 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.04562, allocations: 4.011 MB / 292.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.04562, allocations: 0 / 292.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04563, allocations: 0 / 292.3 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.015e-05/0.04571, allocations: 4 kB / 292.3 MB, free: 14.29 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.0047/0.05041, allocations: 4.371 MB / 296.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.05044, allocations: 15.98 kB / 296.7 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.05142, allocations: 0.6642 MB / 297.3 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.05333, allocations: 1.483 MB / 298.8 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.05346, allocations: 263.4 kB / 299.1 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.05379, allocations: 356.3 kB / 299.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.05669, allocations: 2.853 MB / 302.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.05674, allocations: 11.92 kB / 302.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.05696, allocations: 144 kB / 302.4 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.05708, allocations: 183 kB / 302.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.05866, allocations: 1.07 MB / 303.7 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.06889, allocations: 9.124 MB / 312.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.07023, allocations: 1.373 MB / 314.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009304/0.07116, allocations: 0.7727 MB / 315 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.07134, allocations: 65.91 kB / 315 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.07138, allocations: 56.56 kB / 315.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 5.561e-06/0.07138, allocations: 4 kB / 315.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007022/0.07841, allocations: 4.012 MB / 319.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.07844, allocations: 73.41 kB / 319.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.0796, allocations: 1.499 MB / 320.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/0.0797, allocations: 65.7 kB / 320.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/0.08025, allocations: 1.351 MB / 322.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.08062, allocations: 0.759 MB / 322.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.08102, allocations: 392.2 kB / 323.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/0.08109, allocations: 305.1 kB / 323.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.08149, allocations: 283.8 kB / 323.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.08207, allocations: 0.7202 MB / 324.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.08323, allocations: 1.292 MB / 325.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.08323, allocations: 4 kB / 325.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002097/0.08533, allocations: 1.532 MB / 327.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.08535, allocations: 12 kB / 327.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.08537, allocations: 12 kB / 327.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.08664, allocations: 0.5704 MB / 327.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.08766, allocations: 499.3 kB / 328.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.0918, allocations: 5.658 MB / 334.1 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.09287, allocations: 75.92 kB / 334.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.09297, allocations: 64 kB / 334.2 MB, free: 2.996 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007924/0.09376, allocations: 252.1 kB / 334.5 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/0.09418, allocations: 239.7 kB / 334.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.09605, allocations: 1.405 MB / 336.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.09607, allocations: 20 kB / 336.1 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.09607, allocations: 8 kB / 336.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.09609, allocations: 11.91 kB / 336.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.1014, allocations: 3.434 MB / 339.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1014, allocations: 4 kB / 339.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.1022, allocations: 355.9 kB / 339.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.1036, allocations: 0.6779 MB / 340.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.923e-05/0.1037, allocations: 59.97 kB / 340.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.1084, allocations: 6.851 MB / 347.5 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1084, allocations: 4.031 kB / 347.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.1109, allocations: 1.947 MB / 349.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.1116, allocations: 326.3 kB / 349.8 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.1118, allocations: 51.98 kB / 349.8 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005674/0.1123, allocations: 83.89 kB / 349.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.1126, allocations: 165.6 kB / 350.1 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.1127, allocations: 51.98 kB / 350.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007406/0.1134, allocations: 0.7618 MB / 350.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1134, allocations: 0 / 350.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001676/0.1151, allocations: 0.789 MB / 351.7 MB, free: 0.8828 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (3,25,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000453/0.1156, allocations: 212.1 kB / 351.9 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.09682/0.2124, allocations: 1.719 MB / 353.6 MB, free: 95.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.437e-05/0.2124, allocations: 27.19 kB / 353.6 MB, free: 95.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.214, allocations: 1.331 MB / 355 MB, free: 94.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.2158, allocations: 0.6411 MB / 355.6 MB, free: 94.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.223, allocations: 6.15 MB / 361.8 MB, free: 92.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.2237, allocations: 0.8601 MB / 362.6 MB, free: 92.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008782/0.2245, allocations: 312.9 kB / 362.9 MB, free: 92.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/0.2255, allocations: 0.6104 MB / 363.5 MB, free: 92.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2255, allocations: 0 / 363.5 MB, free: 92.28 MB / 330.7 MB Notification: Performance of Templates: time 0.04377/0.2693, allocations: 42.24 MB / 405.8 MB, free: 53.25 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AIMC_Transformer/AIMC_Transformer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable aimc.i_0_s in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat. Warning: Get data of variable aimc.i_0_s from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.899416488129646]