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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.765/1.765, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 52.25 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.432, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01254/0.4445, allocations: 8.869 MB / 405.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008847/0.4534, allocations: 2.912 MB / 408.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.4565, allocations: 47.25 kB / 408.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.4593, allocations: 0.6447 MB / 409.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004951/0.4643, allocations: 0.7416 MB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.4666, allocations: 333.9 kB / 410.4 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006902/0.4735, allocations: 2.239 MB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.4758, allocations: 0.9998 MB / 413.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.4793, allocations: 1.031 MB / 414.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/0.4833, allocations: 1.323 MB / 416 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009493/0.4842, allocations: 269.1 kB / 416.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.4861, allocations: 364.3 kB / 416.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.4873, allocations: 0.7733 MB / 417.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.4899, allocations: 1.207 MB / 418.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.4973, allocations: 3.54 MB / 422.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4973, allocations: 0 / 422.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4973, allocations: 1.156 kB / 422.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002024/0.4975, allocations: 0 / 422.1 MB, free: 8.754 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.008827/0.5064, allocations: 2.461 MB / 424.6 MB, free: 7.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/0.5064, allocations: 13.86 kB / 424.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.5075, allocations: 262.5 kB / 424.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.5105, allocations: 1.168 MB / 426 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.5107, allocations: 131.9 kB / 426.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.511, allocations: 188 kB / 426.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/0.516, allocations: 2.371 MB / 428.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.516, allocations: 4 kB / 428.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.5162, allocations: 72 kB / 428.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.5163, allocations: 91.5 kB / 428.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.5203, allocations: 1.97 MB / 430.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.535, allocations: 6.96 MB / 437.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.5372, allocations: 0.9843 MB / 438.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.5389, allocations: 0.8036 MB / 439.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.5392, allocations: 44.95 kB / 439.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/0.5393, allocations: 47.5 kB / 439.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 4.208e-06/0.5393, allocations: 0 / 439.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01607/0.5553, allocations: 5.547 MB / 445.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.5554, allocations: 60.41 kB / 445.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.5578, allocations: 1.215 MB / 446.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.5579, allocations: 49.7 kB / 446.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/0.5588, allocations: 0.8831 MB / 447.4 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.5593, allocations: 380.9 kB / 447.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.5599, allocations: 218.9 kB / 448 MB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.5601, allocations: 361.9 kB / 448.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.5612, allocations: 0.6155 MB / 449 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.5626, allocations: 0.9275 MB / 449.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.5652, allocations: 1.632 MB / 451.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5652, allocations: 8 kB / 451.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004556/0.5698, allocations: 2.145 MB / 453.7 MB, free: 9.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.5698, allocations: 8 kB / 453.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.5698, allocations: 11.98 kB / 453.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5711, allocations: 484.1 kB / 454.2 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.5721, allocations: 267.6 kB / 454.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/0.5803, allocations: 6.704 MB / 461.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.5821, allocations: 79.97 kB / 461.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.5822, allocations: 56 kB / 461.3 MB, free: 1.832 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.001461/0.5837, allocations: 0.5911 MB / 461.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.5841, allocations: 139.1 kB / 462 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.5882, allocations: 1.937 MB / 463.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5882, allocations: 12 kB / 463.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5882, allocations: 4 kB / 463.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.5882, allocations: 11.91 kB / 463.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009034/0.5973, allocations: 4.102 MB / 468 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5973, allocations: 4 kB / 468.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.598, allocations: 183.7 kB / 468.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.5994, allocations: 0.5117 MB / 468.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/0.5995, allocations: 35.98 kB / 468.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.6098, allocations: 8.21 MB / 477 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.6098, allocations: 4 kB / 477 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.6155, allocations: 2.882 MB / 479.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.6168, allocations: 271 kB / 480.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004545/0.6173, allocations: 35.92 kB / 480.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/0.6182, allocations: 71.92 kB / 480.2 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/0.6186, allocations: 100.7 kB / 480.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.6187, allocations: 39.98 kB / 480.4 MB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.6204, allocations: 0.8343 MB / 481.2 MB, free: 13.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6204, allocations: 0 / 481.2 MB, free: 13.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002279/0.6226, allocations: 407.9 kB / 481.6 MB, free: 12.76 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.0005679/0.6232, allocations: 186.9 kB / 481.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004751/0.628, allocations: 1.941 MB / 483.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/0.628, allocations: 4 kB / 483.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002705/0.6307, allocations: 1.357 MB / 485.1 MB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.633, allocations: 377.3 kB / 485.5 MB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007632/0.6406, allocations: 4.014 MB / 489.5 MB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.6423, allocations: 1.638 MB / 491.1 MB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.6435, allocations: 295.8 kB / 491.4 MB, free: 2.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.6437, allocations: 95.42 kB / 491.5 MB, free: 2.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.535e-06/0.6437, allocations: 0 / 491.5 MB, free: 2.633 MB / 398.1 MB Notification: Performance of Templates: time 0.04751/0.6912, allocations: 23.68 MB / 0.5031 GB, free: 10.91 MB / 430.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/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","/var/lib/jenkins/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: 6.445329299196601]