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.001034/0.001034, 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.001092/0.001092, allocations: 168.9 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.9755/0.9755, allocations: 158.6 MB / 187.6 MB, free: 2.781 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_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.543e-06/1.543e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.322e-05, allocations: 2.312 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007707/0.00773, allocations: 8.612 MB / 260.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.01318, allocations: 2.921 MB / 263.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01423, allocations: 51.62 kB / 263.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.0156, allocations: 0.6097 MB / 263.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.0178, allocations: 0.7682 MB / 264.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.01842, allocations: 335.4 kB / 264.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.0209, allocations: 2.31 MB / 267.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.02248, allocations: 0.9963 MB / 268.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.0249, allocations: 1.661 MB / 269.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.02651, allocations: 1.154 MB / 271 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.02692, allocations: 260 kB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.02749, allocations: 343.9 kB / 271.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006607/0.02815, allocations: 0.7634 MB / 272.3 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.02896, allocations: 0.8302 MB / 273.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.03078, allocations: 1.904 MB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03078, allocations: 0 / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.03078, allocations: 0 / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.975e-05/0.03082, allocations: 0 / 275.1 MB, free: 15.56 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.002591/0.03341, allocations: 2.269 MB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.03345, allocations: 19.98 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005505/0.034, allocations: 324.7 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.03508, allocations: 0.8209 MB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.03516, allocations: 139.9 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.03534, allocations: 184.3 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.03708, allocations: 1.395 MB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.03711, allocations: 7.891 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.03721, allocations: 72 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/0.03729, allocations: 91.5 kB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.03806, allocations: 0.5267 MB / 280.9 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.04359, allocations: 4.589 MB / 285.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.04427, allocations: 0.5364 MB / 286 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.04479, allocations: 398.6 kB / 286.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.04492, allocations: 48.97 kB / 286.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.04495, allocations: 39.56 kB / 286.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.266e-06/0.04495, allocations: 0 / 286.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.00483/0.04978, allocations: 2.417 MB / 288.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.04982, allocations: 60.41 kB / 289 MB, free: 1.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.0505, allocations: 0.8031 MB / 289.8 MB, free: 444 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.05055, allocations: 45.7 kB / 289.8 MB, free: 392 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.05092, allocations: 0.7475 MB / 290.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.05113, allocations: 384.6 kB / 291 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.05135, allocations: 206.8 kB / 291.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.05148, allocations: 353.8 kB / 291.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.05168, allocations: 145.4 kB / 291.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.05201, allocations: 453.7 kB / 292.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006378/0.05265, allocations: 0.7273 MB / 292.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.05265, allocations: 4 kB / 292.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001765/0.05442, allocations: 0.8962 MB / 293.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.05444, allocations: 11.98 kB / 293.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.05445, allocations: 8 kB / 293.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.055, allocations: 259.5 kB / 294 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/0.05554, allocations: 251.6 kB / 294.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.05879, allocations: 4.671 MB / 298.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.05946, allocations: 47.94 kB / 299 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.05952, allocations: 35.98 kB / 299 MB, free: 6.617 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.0004754/0.06, allocations: 192.2 kB / 299.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.0602, allocations: 115.9 kB / 299.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.0613, allocations: 0.7929 MB / 300.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.06131, allocations: 15.98 kB / 300.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.06132, allocations: 4 kB / 300.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.06133, allocations: 3.984 kB / 300.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.0645, allocations: 2.236 MB / 302.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.06451, allocations: 4.531 kB / 302.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.06492, allocations: 171.7 kB / 302.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006654/0.06558, allocations: 336.4 kB / 302.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.06564, allocations: 31.92 kB / 302.9 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.06932, allocations: 5.887 MB / 308.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.06933, allocations: 7.938 kB / 308.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.07076, allocations: 1.21 MB / 310 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.07108, allocations: 175.1 kB / 310.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.07118, allocations: 31.98 kB / 310.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.0715, allocations: 39.98 kB / 310.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.07166, allocations: 96.7 kB / 310.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.0717, allocations: 27.98 kB / 310.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.07207, allocations: 397.1 kB / 310.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.07207, allocations: 0 / 310.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001045/0.07311, allocations: 407.9 kB / 311.1 MB, free: 9.828 MB / 298.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.0002608/0.07337, allocations: 168.1 kB / 311.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.07456, allocations: 1.064 MB / 312.4 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/0.07458, allocations: 17.17 kB / 312.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007939/0.07537, allocations: 0.9025 MB / 313.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.07619, allocations: 337.9 kB / 313.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.08025, allocations: 3.142 MB / 316.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.08064, allocations: 439.5 kB / 317.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.08109, allocations: 162.8 kB / 317.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/0.08163, allocations: 341.1 kB / 317.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.08163, allocations: 3.938 kB / 317.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of Templates: time 0.03151/0.1131, allocations: 21.83 MB / 339.5 MB, free: 13.2 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.343355461023748]