Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.001212/0.001212, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001899/0.003111, 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.001174/0.001174, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002747, 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.8583/0.8583, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1564/1.015, allocations: 49.5 MB / 220.7 MB, free: 1.355 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.858e-05, allocations: 9.406 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008071/0.00809, allocations: 8.651 MB / 230.7 MB, free: 7.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005349/0.01344, allocations: 2.944 MB / 233.6 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006605/0.0141, allocations: 47.69 kB / 233.6 MB, free: 4.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.01522, allocations: 0.6093 MB / 234.3 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.01673, allocations: 0.7604 MB / 235 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.01735, allocations: 331.5 kB / 235.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.01966, allocations: 2.349 MB / 237.7 MB, free: 284 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.02075, allocations: 0.9884 MB / 238.7 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.023, allocations: 1.81 MB / 240.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.02409, allocations: 1.154 MB / 241.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.02434, allocations: 260 kB / 241.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.02483, allocations: 343.8 kB / 242.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007543/0.02559, allocations: 0.6313 MB / 242.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.02618, allocations: 0.6862 MB / 243.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.02772, allocations: 1.787 MB / 245.3 MB, free: 8.543 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.02773, allocations: 4 kB / 245.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.02773, allocations: 0 / 245.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.02775, allocations: 3.938 kB / 245.3 MB, free: 8.535 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.002641/0.03039, allocations: 2.695 MB / 248 MB, free: 5.805 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.03044, allocations: 8.031 kB / 248 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.03101, allocations: 401.7 kB / 248.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.03202, allocations: 0.8327 MB / 249.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.562e-05/0.0321, allocations: 131.9 kB / 249.4 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.03228, allocations: 184.3 kB / 249.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.0339, allocations: 1.391 MB / 251 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.03394, allocations: 7.891 kB / 251 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.03405, allocations: 72 kB / 251 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-05/0.03413, allocations: 95.5 kB / 251.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/0.03487, allocations: 0.5345 MB / 251.7 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.03955, allocations: 4.605 MB / 256.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.04021, allocations: 0.5481 MB / 256.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.04089, allocations: 398.6 kB / 257.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.04101, allocations: 36.98 kB / 257.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.04105, allocations: 47.56 kB / 257.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.254e-06/0.04105, allocations: 0 / 257.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003919/0.04497, allocations: 2.452 MB / 259.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.045, allocations: 64.41 kB / 259.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.04561, allocations: 0.803 MB / 260.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.04566, allocations: 45.7 kB / 260.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.04598, allocations: 0.7436 MB / 261.4 MB, free: 8.023 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.04618, allocations: 388.6 kB / 261.8 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.04641, allocations: 210.7 kB / 262 MB, free: 7.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.04652, allocations: 353.8 kB / 262.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.04672, allocations: 149.4 kB / 262.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.04705, allocations: 445.9 kB / 262.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.04771, allocations: 0.7624 MB / 263.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.04772, allocations: 4 kB / 263.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001298/0.04902, allocations: 0.8917 MB / 264.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.04904, allocations: 8 kB / 264.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.04905, allocations: 12 kB / 264.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/0.04958, allocations: 255.5 kB / 264.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.05011, allocations: 275.6 kB / 265.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.05293, allocations: 4.668 MB / 269.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.05327, allocations: 47.94 kB / 269.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.05332, allocations: 39.94 kB / 269.9 MB, free: 14.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.05363, allocations: 192.3 kB / 270.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.05377, allocations: 107.9 kB / 270.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009936/0.05476, allocations: 0.7963 MB / 271 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001856/0.05495, allocations: 15.94 kB / 271 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.05496, allocations: 4 kB / 271 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.05497, allocations: 7.969 kB / 271 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.05745, allocations: 2.248 MB / 273.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.05746, allocations: 4 kB / 273.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.05785, allocations: 179.8 kB / 273.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.05808, allocations: 163.1 kB / 273.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.05871, allocations: 334.7 kB / 273.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/0.05876, allocations: 31.98 kB / 273.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.06207, allocations: 5.875 MB / 279.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.06208, allocations: 11.97 kB / 279.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.06335, allocations: 1.221 MB / 281 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.06344, allocations: 24 kB / 281.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.06374, allocations: 47.97 kB / 281.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.06388, allocations: 104.6 kB / 281.2 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.06392, allocations: 20 kB / 281.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003168/0.06423, allocations: 401 kB / 281.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06423, allocations: 0 / 281.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009047/0.06514, allocations: 403.9 kB / 282 MB, free: 2.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (89): * Single equations (assignments): 84 * 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,6,100.0%), (1,1,100.0%), (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.0002936/0.06543, allocations: 164.1 kB / 282.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.06657, allocations: 1.093 MB / 283.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.643e-05/0.0666, allocations: 27.11 kB / 283.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1117/0.1783, allocations: 1.117 MB / 284.4 MB, free: 48.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.1803, allocations: 3.093 MB / 287.5 MB, free: 45.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.1935, allocations: 3.208 MB / 290.7 MB, free: 43.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.1941, allocations: 451.9 kB / 291.2 MB, free: 43.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005569/0.1947, allocations: 163.3 kB / 291.3 MB, free: 43.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/0.1953, allocations: 335.6 kB / 291.6 MB, free: 43.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1953, allocations: 1.188 kB / 291.6 MB, free: 43.71 MB / 282.7 MB Notification: Performance of Templates: time 0.0252/0.2205, allocations: 22.57 MB / 314.2 MB, free: 30.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.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.283632512204349]