Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.000783/0.000783, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009574/0.00174, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007284/0.0007284, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008635/0.001592, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.9637/0.9637, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1896/1.153, allocations: 49.48 MB / 220.5 MB, free: 1.445 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.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.884e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.02412/0.02414, allocations: 12.48 MB / 234.3 MB, free: 3.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.03448, allocations: 4.369 MB / 238.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.03652, allocations: 91.31 kB / 238.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.03875, allocations: 0.9897 MB / 239.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003672/0.04242, allocations: 1.281 MB / 241.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.04365, allocations: 0.5304 MB / 241.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005157/0.0488, allocations: 4.877 MB / 246.5 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.05172, allocations: 2.017 MB / 248.5 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/0.06322, allocations: 3.651 MB / 252.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/0.06749, allocations: 2.436 MB / 254.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008274/0.06831, allocations: 0.543 MB / 255.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009744/0.06929, allocations: 0.6365 MB / 255.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000834/0.07012, allocations: 1.282 MB / 257 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.07155, allocations: 1.419 MB / 258.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.07475, allocations: 3.773 MB / 262.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.07476, allocations: 0 / 262.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07476, allocations: 0 / 262.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-05/0.07482, allocations: 0 / 262.2 MB, free: 7.508 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004601/0.07942, allocations: 5.242 MB / 267.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.07945, allocations: 15.97 kB / 267.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009018/0.08035, allocations: 0.7357 MB / 268.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.08205, allocations: 1.472 MB / 269.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.08218, allocations: 263.4 kB / 269.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.0825, allocations: 356.3 kB / 270.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.08516, allocations: 2.864 MB / 273.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.08521, allocations: 0 / 273.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.08542, allocations: 148 kB / 273.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.08555, allocations: 183 kB / 273.5 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.08702, allocations: 1.07 MB / 274.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008685/0.09571, allocations: 9.179 MB / 283.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.09699, allocations: 1.369 MB / 285.1 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.114/0.211, allocations: 0.7669 MB / 285.9 MB, free: 46.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.2112, allocations: 69.09 kB / 285.9 MB, free: 46.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2112, allocations: 52.34 kB / 286 MB, free: 46.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 3.386e-06/0.2112, allocations: 3.562 kB / 286 MB, free: 46.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.008054/0.2192, allocations: 3.982 MB / 290 MB, free: 46.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2193, allocations: 75.22 kB / 290 MB, free: 45.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.2208, allocations: 1.498 MB / 291.5 MB, free: 45.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/0.2209, allocations: 61.7 kB / 291.6 MB, free: 45.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.2217, allocations: 1.366 MB / 293 MB, free: 45.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.222, allocations: 0.756 MB / 293.7 MB, free: 44.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.2225, allocations: 392.5 kB / 294.1 MB, free: 44.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.2226, allocations: 302.5 kB / 294.4 MB, free: 44.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.223, allocations: 292.6 kB / 294.7 MB, free: 44.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.2237, allocations: 0.7139 MB / 295.4 MB, free: 44.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.225, allocations: 1.288 MB / 296.7 MB, free: 43.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.225, allocations: 3.438 kB / 296.7 MB, free: 43.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001844/0.2268, allocations: 1.535 MB / 298.2 MB, free: 43.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2269, allocations: 12.59 kB / 298.2 MB, free: 43.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.2269, allocations: 13.97 kB / 298.3 MB, free: 43.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.228, allocations: 0.5769 MB / 298.8 MB, free: 43.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2293, allocations: 0.6195 MB / 299.5 MB, free: 43.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/0.2325, allocations: 5.703 MB / 305.2 MB, free: 39.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.2332, allocations: 77.44 kB / 305.2 MB, free: 39.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.2333, allocations: 70.58 kB / 305.3 MB, free: 39.33 MB / 282.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.0005334/0.2339, allocations: 254.5 kB / 305.5 MB, free: 39.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.2341, allocations: 237.6 kB / 305.8 MB, free: 39.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.2357, allocations: 1.407 MB / 307.2 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.2357, allocations: 22.03 kB / 307.2 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.2357, allocations: 7.406 kB / 307.2 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2357, allocations: 13.16 kB / 307.2 MB, free: 39.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.2393, allocations: 3.434 MB / 310.7 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2394, allocations: 0 / 310.7 MB, free: 37.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.2404, allocations: 0.5417 MB / 311.2 MB, free: 36.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.2408, allocations: 324.7 kB / 311.5 MB, free: 36.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.242, allocations: 0.6214 MB / 312.1 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.2421, allocations: 58.41 kB / 312.2 MB, free: 35.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.2454, allocations: 6.893 MB / 319.1 MB, free: 28.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.2454, allocations: 7.938 kB / 319.1 MB, free: 28.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.2474, allocations: 1.947 MB / 321 MB, free: 26.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.2476, allocations: 51.98 kB / 321.1 MB, free: 26.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.2481, allocations: 83.95 kB / 321.2 MB, free: 26.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.2484, allocations: 169.6 kB / 321.3 MB, free: 26.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.2485, allocations: 43.98 kB / 321.4 MB, free: 26.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005571/0.249, allocations: 0.762 MB / 322.1 MB, free: 25.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.249, allocations: 4 kB / 322.2 MB, free: 25.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00143/0.2505, allocations: 0.7793 MB / 322.9 MB, free: 24.69 MB / 282.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.000408/0.2509, allocations: 231.3 kB / 323.2 MB, free: 24.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.2525, allocations: 1.719 MB / 324.9 MB, free: 22.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.003e-05/0.2525, allocations: 59.92 kB / 324.9 MB, free: 22.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.2536, allocations: 1.332 MB / 326.3 MB, free: 21.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.2549, allocations: 0.8461 MB / 327.1 MB, free: 20.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/0.2771, allocations: 6.514 MB / 333.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.2778, allocations: 0.8804 MB / 334.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008561/0.2787, allocations: 312.8 kB / 334.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009518/0.2796, allocations: 0.6162 MB / 335.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2796, allocations: 0 / 335.4 MB, free: 12.13 MB / 282.7 MB Notification: Performance of Templates: time 0.05231/0.3319, allocations: 44.44 MB / 379.9 MB, free: 15.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.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: 4.6265204744413495]