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.0009877/0.0009877, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001546/0.001546, allocations: 162.7 kB / 25.61 MB, free: 8.91 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.9453/0.9453, allocations: 158.6 MB / 187.5 MB, free: 2.797 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 1.903e-06/1.903e-06, allocations: 0 / 251.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.241e-05, allocations: 2.312 kB / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01021/0.01022, allocations: 12.37 MB / 263.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.01699, allocations: 4.184 MB / 268.1 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.018, allocations: 87.38 kB / 268.2 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.01936, allocations: 0.9662 MB / 269.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.02127, allocations: 1.288 MB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.022, allocations: 0.5265 MB / 270.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00374/0.02574, allocations: 4.838 MB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.02746, allocations: 1.967 MB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003877/0.03134, allocations: 3.36 MB / 281.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.03356, allocations: 2.451 MB / 283.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006091/0.03417, allocations: 0.543 MB / 284.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.03495, allocations: 0.6287 MB / 284.7 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008838/0.03584, allocations: 1.574 MB / 286.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.03716, allocations: 1.719 MB / 288 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.04033, allocations: 4.019 MB / 292 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.04033, allocations: 0 / 292 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.04034, allocations: 0 / 292 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.688e-05/0.04037, allocations: 0 / 292 MB, free: 14.48 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.004452/0.04482, allocations: 4.767 MB / 296.8 MB, free: 9.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.04486, allocations: 11.98 kB / 296.8 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009864/0.04585, allocations: 0.8143 MB / 297.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.04787, allocations: 2.005 MB / 299.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.04801, allocations: 271.4 kB / 299.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.04834, allocations: 356.3 kB / 300.2 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.05141, allocations: 2.81 MB / 303.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.05147, allocations: 15.89 kB / 303.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.05166, allocations: 148 kB / 303.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.05178, allocations: 179.1 kB / 303.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.05319, allocations: 1.032 MB / 304.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.06361, allocations: 11.61 MB / 316 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.06543, allocations: 1.397 MB / 317.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009756/0.0664, allocations: 0.8573 MB / 318.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.06655, allocations: 69.86 kB / 318.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.06658, allocations: 59.86 kB / 318.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 2.815e-06/0.06658, allocations: 0 / 318.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.005719/0.0723, allocations: 4.091 MB / 322.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.07233, allocations: 73.41 kB / 322.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.07403, allocations: 1.816 MB / 324.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.07412, allocations: 61.7 kB / 324.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008398/0.07496, allocations: 1.786 MB / 326.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004184/0.07538, allocations: 0.7941 MB / 327 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.07582, allocations: 446.3 kB / 327.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.07592, allocations: 480.7 kB / 327.9 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.07632, allocations: 284.4 kB / 328.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.07706, allocations: 0.9572 MB / 329.2 MB, free: 8.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.07857, allocations: 1.469 MB / 330.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.07857, allocations: 4 kB / 330.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002146/0.08072, allocations: 1.892 MB / 332.5 MB, free: 4.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.08074, allocations: 12 kB / 332.5 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.08075, allocations: 12 kB / 332.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.08197, allocations: 0.5962 MB / 333.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/0.08293, allocations: 499.3 kB / 333.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.08761, allocations: 7.542 MB / 341.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.0882, allocations: 79.97 kB / 341.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.835e-05/0.08829, allocations: 71.97 kB / 341.3 MB, free: 11.6 MB / 330.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.0004806/0.08877, allocations: 288 kB / 341.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.0891, allocations: 350.2 kB / 342 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.09101, allocations: 1.649 MB / 343.6 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.09103, allocations: 20 kB / 343.6 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.09103, allocations: 8 kB / 343.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.09104, allocations: 11.97 kB / 343.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.09595, allocations: 4.097 MB / 347.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.09596, allocations: 8.344 kB / 347.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.09672, allocations: 359.5 kB / 348.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.09803, allocations: 0.6381 MB / 348.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.09812, allocations: 51.92 kB / 348.8 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1256/0.2237, allocations: 9.228 MB / 358 MB, free: 86.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2237, allocations: 7.938 kB / 358 MB, free: 86.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.2271, allocations: 2.291 MB / 360.3 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.2278, allocations: 457.3 kB / 360.8 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.228, allocations: 48.38 kB / 360.8 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.2286, allocations: 88.5 kB / 360.9 MB, free: 85.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.2288, allocations: 168.1 kB / 361.1 MB, free: 85.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.2289, allocations: 47.31 kB / 361.1 MB, free: 85.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007749/0.2297, allocations: 0.9612 MB / 362.1 MB, free: 85.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2297, allocations: 0 / 362.1 MB, free: 85.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001818/0.2315, allocations: 0.787 MB / 362.9 MB, free: 85.46 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.0004557/0.232, allocations: 237 kB / 363.1 MB, free: 85.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.234, allocations: 2.021 MB / 365.1 MB, free: 84.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.234, allocations: 3.812 kB / 365.1 MB, free: 84.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.2352, allocations: 1.631 MB / 366.7 MB, free: 84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.2366, allocations: 0.6586 MB / 367.4 MB, free: 83.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/0.2441, allocations: 6.401 MB / 373.8 MB, free: 80.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.2448, allocations: 1.019 MB / 374.8 MB, free: 79.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007566/0.2456, allocations: 310.6 kB / 375.1 MB, free: 79.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.2466, allocations: 0.6941 MB / 375.8 MB, free: 78.82 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2466, allocations: 0 / 375.8 MB, free: 78.82 MB / 330.7 MB Notification: Performance of Templates: time 0.04743/0.294, allocations: 42.47 MB / 418.3 MB, free: 37.96 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.538604486268014]