Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001018/0.001018, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001251/0.001251, allocations: 168.7 kB / 25.75 MB, free: 8.582 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.9551/0.9551, allocations: 158.6 MB / 187.6 MB, free: 2.898 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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.81e-05, allocations: 5.828 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01961/0.01964, allocations: 9.57 MB / 260.7 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.02512, allocations: 3.019 MB / 263.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.02636, allocations: 51.62 kB / 263.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.02778, allocations: 0.6173 MB / 264.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.03024, allocations: 0.8186 MB / 265.2 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.03101, allocations: 387.3 kB / 265.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.03371, allocations: 2.548 MB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.03505, allocations: 0.9894 MB / 269.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.03722, allocations: 1.614 MB / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.03927, allocations: 1.204 MB / 271.9 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006769/0.03994, allocations: 280 kB / 272.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007362/0.04068, allocations: 371.7 kB / 272.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007044/0.04139, allocations: 0.8219 MB / 273.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.0426, allocations: 0.8809 MB / 274.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.04481, allocations: 2.013 MB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.04481, allocations: 4 kB / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.04481, allocations: 0 / 276.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.786e-05/0.04486, allocations: 0 / 276.3 MB, free: 14.47 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003319/0.04818, allocations: 2.717 MB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.04822, allocations: 11.98 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.04888, allocations: 427.3 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.05061, allocations: 1.164 MB / 280.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/0.05071, allocations: 140.2 kB / 280.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.05092, allocations: 204.3 kB / 280.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.05294, allocations: 1.555 MB / 282.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.05298, allocations: 7.922 kB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.0531, allocations: 83.94 kB / 282.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.626e-05/0.05318, allocations: 87.69 kB / 282.7 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.05448, allocations: 0.7085 MB / 283.4 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007283/0.06176, allocations: 6.605 MB / 290 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.06261, allocations: 0.5968 MB / 290.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.06347, allocations: 0.5882 MB / 291.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.06363, allocations: 44.97 kB / 291.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.06366, allocations: 46.39 kB / 291.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.06366, allocations: 4 kB / 291.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.005737/0.0694, allocations: 3.216 MB / 294.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.06944, allocations: 64.39 kB / 294.5 MB, free: 11.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.07063, allocations: 1.068 MB / 295.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.07069, allocations: 45.7 kB / 295.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.0712, allocations: 1.014 MB / 296.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.07144, allocations: 408.5 kB / 297.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.07171, allocations: 253.2 kB / 297.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.07186, allocations: 0.5433 MB / 297.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.07225, allocations: 231.8 kB / 298.1 MB, free: 8.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.07284, allocations: 0.7298 MB / 298.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.07393, allocations: 1.059 MB / 299.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.07394, allocations: 0 / 299.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002039/0.07598, allocations: 1.319 MB / 301.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.076, allocations: 8 kB / 301.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.07602, allocations: 12 kB / 301.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/0.07675, allocations: 298.1 kB / 301.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.07741, allocations: 307.5 kB / 301.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.08158, allocations: 6.729 MB / 308.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.08228, allocations: 79.92 kB / 308.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.08235, allocations: 55.98 kB / 308.7 MB, free: 12.72 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004841/0.08284, allocations: 240.2 kB / 308.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.08308, allocations: 175.1 kB / 309.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.08463, allocations: 1.087 MB / 310.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.08464, allocations: 12 kB / 310.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.08465, allocations: 4 kB / 310.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.08466, allocations: 7.969 kB / 310.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.08841, allocations: 2.742 MB / 312.9 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.08841, allocations: 4 kB / 312.9 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.08888, allocations: 179.8 kB / 313.1 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008752/0.08976, allocations: 356.1 kB / 313.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.08983, allocations: 35.98 kB / 313.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/0.0949, allocations: 8.554 MB / 322 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.09491, allocations: 4 kB / 322 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.09721, allocations: 1.544 MB / 323.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/0.09772, allocations: 255 kB / 323.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.09786, allocations: 32.06 kB / 323.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.09826, allocations: 63.92 kB / 323.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.09846, allocations: 92.7 kB / 324 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.09851, allocations: 35.98 kB / 324.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006972/0.09921, allocations: 0.6304 MB / 324.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09921, allocations: 0 / 324.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001238/0.1004, allocations: 439.9 kB / 325.1 MB, free: 11.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003152/0.1008, allocations: 186.6 kB / 325.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.1026, allocations: 1.495 MB / 326.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1026, allocations: 4.062 kB / 326.8 MB, free: 9.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.1038, allocations: 1.291 MB / 328.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.1048, allocations: 374.1 kB / 328.5 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.1097, allocations: 3.486 MB / 331.9 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1101, allocations: 496 kB / 332.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005926/0.1107, allocations: 255.7 kB / 332.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.1109, allocations: 92.48 kB / 332.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of SimCode: time 2.385e-06/0.1109, allocations: 0 / 332.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of Templates: time 0.1338/0.2447, allocations: 22.89 MB / 355.7 MB, free: 102.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.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: 3.546515448950231]