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.001495/0.001495, allocations: 103.6 kB / 21.18 MB, free: 332 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.001763/0.001763, allocations: 212 kB / 24.47 MB, free: 3.547 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.417/1.417, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.001994/0.001994, allocations: 51.92 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 49.16 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009789/0.3176, allocations: 7.798 MB / 404.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.3241, allocations: 2.734 MB / 407.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.3255, allocations: 47.44 kB / 407.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.3274, allocations: 0.5897 MB / 408 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.3302, allocations: 0.746 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.3311, allocations: 328.6 kB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003328/0.3344, allocations: 2.233 MB / 411.3 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.3361, allocations: 0.9596 MB / 412.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.3382, allocations: 1.036 MB / 413.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.3407, allocations: 1.236 MB / 414.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005309/0.3412, allocations: 268.5 kB / 414.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3423, allocations: 352.5 kB / 415.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009821/0.3433, allocations: 0.7737 MB / 415.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.3449, allocations: 0.9771 MB / 416.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.3495, allocations: 3.559 MB / 420.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3495, allocations: 3.938 kB / 420.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3495, allocations: 1.25 kB / 420.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.3496, allocations: 3.938 kB / 420.5 MB, free: 10.37 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.006779/0.3564, allocations: 2.465 MB / 422.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3564, allocations: 14.27 kB / 423 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.3572, allocations: 266.7 kB / 423.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.3599, allocations: 1.156 MB / 424.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.36, allocations: 135.9 kB / 424.5 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.3603, allocations: 188.1 kB / 424.7 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.3649, allocations: 2.475 MB / 427.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/0.365, allocations: 4 kB / 427.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.3652, allocations: 72 kB / 427.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.3653, allocations: 91.5 kB / 427.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004026/0.3693, allocations: 1.958 MB / 429.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.3824, allocations: 6.118 MB / 435.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.3842, allocations: 0.9858 MB / 436.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.3859, allocations: 0.8108 MB / 437.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.3861, allocations: 36.97 kB / 437.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3862, allocations: 43.56 kB / 437.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/0.3862, allocations: 0 / 437.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01454/0.4007, allocations: 5.528 MB / 442.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.4008, allocations: 68.41 kB / 442.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.4029, allocations: 1.071 MB / 443.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.403, allocations: 45.7 kB / 444 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008246/0.4038, allocations: 0.898 MB / 444.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.4042, allocations: 388.7 kB / 445.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.4046, allocations: 222.9 kB / 445.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4048, allocations: 357.9 kB / 445.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.4059, allocations: 0.6116 MB / 446.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.4074, allocations: 0.9275 MB / 447.4 MB, free: 24 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.41, allocations: 1.64 MB / 449 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.41, allocations: 0 / 449 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004233/0.4143, allocations: 2.129 MB / 451.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4143, allocations: 8 kB / 451.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.4143, allocations: 8 kB / 451.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4156, allocations: 488 kB / 451.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.4167, allocations: 271.6 kB / 451.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.4245, allocations: 6.584 MB / 458.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4259, allocations: 87.86 kB / 458.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.426, allocations: 51.94 kB / 458.6 MB, free: 4.297 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.001388/0.4274, allocations: 0.595 MB / 459.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.4278, allocations: 131.1 kB / 459.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.4319, allocations: 1.928 MB / 461.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.4319, allocations: 19.92 kB / 461.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4319, allocations: 4 kB / 461.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4319, allocations: 3.984 kB / 461.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.4399, allocations: 3.663 MB / 465 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.44, allocations: 4 kB / 465 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.4408, allocations: 175.7 kB / 465.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.4422, allocations: 0.5159 MB / 465.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.4423, allocations: 39.97 kB / 465.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009514/0.4518, allocations: 8.057 MB / 473.8 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4518, allocations: 4 kB / 473.8 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.4572, allocations: 2.866 MB / 476.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.4585, allocations: 263 kB / 476.9 MB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.4589, allocations: 28 kB / 476.9 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/0.4598, allocations: 75.91 kB / 477 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.4601, allocations: 96.7 kB / 477.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.527e-05/0.4601, allocations: 36 kB / 477.1 MB, free: 1.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001395/0.4615, allocations: 0.7293 MB / 477.8 MB, free: 440 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4615, allocations: 4 kB / 477.8 MB, free: 436 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002157/0.4637, allocations: 403.9 kB / 478.2 MB, free: 32 kB / 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.0005215/0.4642, allocations: 191.2 kB / 478.4 MB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.4681, allocations: 1.944 MB / 480.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4681, allocations: 0 / 480.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.4706, allocations: 1.35 MB / 481.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.4727, allocations: 328.3 kB / 482 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/0.4809, allocations: 3.983 MB / 486 MB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.4826, allocations: 1.058 MB / 487.1 MB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009896/0.4835, allocations: 278.7 kB / 487.4 MB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.4839, allocations: 95.36 kB / 487.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4839, allocations: 0 / 487.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.04475/0.5286, allocations: 23.38 MB / 0.4989 GB, free: 15.13 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: 5.579248916357756]