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.00171/0.00171, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 14.72 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.001648/0.001648, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 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 1.514/1.514, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 59.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2991, allocations: 49.15 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.008885/0.308, allocations: 8.874 MB / 406.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005068/0.3131, allocations: 2.905 MB / 409.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.314, allocations: 51.06 kB / 409.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.3157, allocations: 0.6407 MB / 410.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.3176, allocations: 0.7495 MB / 410.8 MB, free: 272 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.3183, allocations: 330.5 kB / 411.2 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002989/0.3213, allocations: 2.238 MB / 413.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.3229, allocations: 0.9979 MB / 414.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.3245, allocations: 1.039 MB / 415.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.3265, allocations: 1.319 MB / 416.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.3269, allocations: 268.1 kB / 417 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.3278, allocations: 361.2 kB / 417.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000858/0.3286, allocations: 0.7702 MB / 418.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.3305, allocations: 1.213 MB / 419.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.3355, allocations: 3.536 MB / 422.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3355, allocations: 1.281 kB / 422.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3355, allocations: 0 / 422.9 MB, free: 8.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.237e-05/0.3356, allocations: 0 / 422.9 MB, free: 8.746 MB / 334.1 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.005705/0.3413, allocations: 2.46 MB / 425.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3413, allocations: 13.55 kB / 425.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007632/0.3421, allocations: 267.4 kB / 425.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.3445, allocations: 1.162 MB / 426.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3446, allocations: 131.9 kB / 426.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/0.3449, allocations: 188.1 kB / 427.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/0.3491, allocations: 2.374 MB / 429.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.3492, allocations: 3.984 kB / 429.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.3493, allocations: 72 kB / 429.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.3494, allocations: 91.52 kB / 429.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/0.3532, allocations: 1.962 MB / 431.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.3658, allocations: 6.96 MB / 438.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.3676, allocations: 0.9997 MB / 439.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.3692, allocations: 0.7953 MB / 440.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.3694, allocations: 48.95 kB / 440.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.3695, allocations: 47.55 kB / 440.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.3695, allocations: 0 / 440.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01438/0.3839, allocations: 5.539 MB / 446 MB, free: 2.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.3839, allocations: 64.41 kB / 446 MB, free: 2.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.3861, allocations: 1.222 MB / 447.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.3863, allocations: 41.7 kB / 447.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008488/0.3871, allocations: 0.887 MB / 448.2 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004968/0.3876, allocations: 384.9 kB / 448.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.388, allocations: 226.9 kB / 448.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.3883, allocations: 357.7 kB / 449.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.3894, allocations: 0.6077 MB / 449.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3907, allocations: 0.9275 MB / 450.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.3933, allocations: 1.64 MB / 452.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3933, allocations: 0 / 452.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004321/0.3976, allocations: 2.141 MB / 454.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3976, allocations: 8 kB / 454.5 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.3976, allocations: 12 kB / 454.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.3989, allocations: 484.1 kB / 455 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3999, allocations: 271.6 kB / 455.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007751/0.4076, allocations: 6.703 MB / 461.9 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.409, allocations: 79.92 kB / 462 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4091, allocations: 47.98 kB / 462 MB, free: 1.809 MB / 366.1 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.001265/0.4104, allocations: 0.5911 MB / 462.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.4108, allocations: 151.1 kB / 462.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.4146, allocations: 1.929 MB / 464.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.4146, allocations: 12 kB / 464.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.4146, allocations: 11.94 kB / 464.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4146, allocations: 3.984 kB / 464.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008152/0.4228, allocations: 4.101 MB / 468.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.4228, allocations: 4 kB / 468.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.4236, allocations: 171.8 kB / 469 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.425, allocations: 0.5238 MB / 469.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4251, allocations: 31.97 kB / 469.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009191/0.4343, allocations: 8.214 MB / 477.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.4343, allocations: 11.88 kB / 477.8 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/0.4397, allocations: 2.871 MB / 480.7 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4407, allocations: 278.9 kB / 480.9 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.441, allocations: 31.94 kB / 481 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.4418, allocations: 71.91 kB / 481 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.4421, allocations: 108.6 kB / 481.1 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.4422, allocations: 32 kB / 481.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.4439, allocations: 0.8343 MB / 482 MB, free: 13.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4439, allocations: 0 / 482 MB, free: 13.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001908/0.4458, allocations: 411.9 kB / 482.4 MB, free: 12.72 MB / 398.1 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%), (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.0004295/0.4462, allocations: 186.9 kB / 482.6 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.4501, allocations: 1.94 MB / 484.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.4501, allocations: 0.625 kB / 484.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.4527, allocations: 1.361 MB / 485.9 MB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.4548, allocations: 392.6 kB / 486.3 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/0.4626, allocations: 4.038 MB / 490.3 MB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.4642, allocations: 1.618 MB / 491.9 MB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.4647, allocations: 103.4 kB / 492 MB, free: 2.855 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4647, allocations: 0 / 492 MB, free: 2.855 MB / 398.1 MB Notification: Performance of Templates: time 0.08579/0.5504, allocations: 68.3 MB / 0.5472 GB, free: 14.4 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.63232556101866]