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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=30000,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=30000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 110.5 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 179.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB 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.0013/0.0013, allocations: 51.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1585, allocations: 46.61 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.3579/0.5165, allocations: 8.788 MB / 383.9 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008051/0.5246, allocations: 2.893 MB / 386.8 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.5267, allocations: 35.06 kB / 386.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.5289, allocations: 0.6323 MB / 387.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.5321, allocations: 0.7321 MB / 388.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.5332, allocations: 325.2 kB / 388.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.537, allocations: 2.24 MB / 390.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.5396, allocations: 1.701 MB / 392.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.542, allocations: 1.011 MB / 393.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.5444, allocations: 1.29 MB / 394.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.5449, allocations: 268.4 kB / 395.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009727/0.5458, allocations: 356.2 kB / 395.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009828/0.5468, allocations: 0.7614 MB / 396.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.5488, allocations: 1.207 MB / 397.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005823/0.5546, allocations: 3.53 MB / 400.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5547, allocations: 0 / 400.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5547, allocations: 0 / 400.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.428e-05/0.5548, allocations: 0 / 400.9 MB, free: 0.5117 MB / 318.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.00674/0.5615, allocations: 2.484 MB / 403.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.5616, allocations: 13.95 kB / 403.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/0.5625, allocations: 253.3 kB / 403.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.565, allocations: 1.224 MB / 404.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.5651, allocations: 132.4 kB / 405 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.5655, allocations: 189.4 kB / 405.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005113/0.5706, allocations: 2.372 MB / 407.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.548e-05/0.5707, allocations: 10.75 kB / 407.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.5709, allocations: 71.03 kB / 407.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.571, allocations: 96.62 kB / 407.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.5751, allocations: 1.963 MB / 409.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.59, allocations: 7.054 MB / 416.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.5927, allocations: 1.276 MB / 418 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.595, allocations: 0.862 MB / 418.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004013/0.5954, allocations: 122 kB / 419 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.5955, allocations: 48.03 kB / 419.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 6.653e-06/0.5956, allocations: 0 / 419.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.02123/0.6168, allocations: 5.901 MB / 425 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.6169, allocations: 64.41 kB / 425 MB, free: 13.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.62, allocations: 1.215 MB / 426.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.6202, allocations: 45.7 kB / 426.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.6213, allocations: 0.8612 MB / 427.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/0.6218, allocations: 370.8 kB / 427.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.6224, allocations: 218.8 kB / 427.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.6227, allocations: 357.9 kB / 428.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.6245, allocations: 0.6116 MB / 428.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.6267, allocations: 0.9236 MB / 429.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/0.6308, allocations: 1.64 MB / 431.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.6308, allocations: 0 / 431.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007074/0.6379, allocations: 2.223 MB / 433.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.638, allocations: 12 kB / 433.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.6381, allocations: 8 kB / 433.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.6401, allocations: 484.6 kB / 434 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.6421, allocations: 271.6 kB / 434.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/0.651, allocations: 7.017 MB / 441.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.6533, allocations: 79.91 kB / 441.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6535, allocations: 48 kB / 441.4 MB, free: 12.09 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.001857/0.6553, allocations: 0.599 MB / 442 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/0.656, allocations: 142.2 kB / 442.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.66, allocations: 2.02 MB / 444.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.66, allocations: 12 kB / 444.1 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.66, allocations: 4 kB / 444.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6601, allocations: 7.984 kB / 444.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007749/0.6678, allocations: 4.204 MB / 448.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.6679, allocations: 4 kB / 448.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.6686, allocations: 179.7 kB / 448.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.67, allocations: 0.5198 MB / 449 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.6701, allocations: 27.98 kB / 449.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009151/0.6792, allocations: 8.612 MB / 457.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.6793, allocations: 8 kB / 457.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005497/0.6848, allocations: 2.953 MB / 460.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.6861, allocations: 351.2 kB / 461 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.6863, allocations: 27.98 kB / 461 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/0.6871, allocations: 75.86 kB / 461.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.6875, allocations: 100.8 kB / 461.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/0.6876, allocations: 32 kB / 461.2 MB, free: 7.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.6893, allocations: 0.8459 MB / 462.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6893, allocations: 0 / 462.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002251/0.6915, allocations: 404 kB / 462.5 MB, free: 6.09 MB / 382.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.0005609/0.6921, allocations: 183 kB / 462.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.6962, allocations: 2.158 MB / 464.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.6962, allocations: 192 / 464.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.6987, allocations: 1.487 MB / 466.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.701, allocations: 390.5 kB / 466.7 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.7087, allocations: 3.906 MB / 470.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.7104, allocations: 1.638 MB / 472.2 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001176/0.7116, allocations: 295.8 kB / 472.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.7118, allocations: 95.42 kB / 472.6 MB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.7119, allocations: 4 kB / 472.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of Templates: time 0.04885/0.7607, allocations: 22.65 MB / 495.2 MB, free: 4.98 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (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) 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) Reference file matches