Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 53.34 MB / 427.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.013/0.1159, allocations: 8.908 MB / 436.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.1225, allocations: 2.894 MB / 439 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.1239, allocations: 43.81 kB / 439 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.1259, allocations: 0.6485 MB / 439.7 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.1284, allocations: 0.7418 MB / 440.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1294, allocations: 327.5 kB / 440.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003389/0.1328, allocations: 2.235 MB / 443 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.1348, allocations: 1.278 MB / 444.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.1365, allocations: 1.024 MB / 445.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.139, allocations: 1.327 MB / 446.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.1396, allocations: 268 kB / 446.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1406, allocations: 367.8 kB / 447.2 MB, free: 320 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2409/0.3815, allocations: 0.767 MB / 448 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.3832, allocations: 1.208 MB / 449.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.3876, allocations: 3.552 MB / 452.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3876, allocations: 0 / 452.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3876, allocations: 0 / 452.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001182/0.3878, allocations: 0 / 452.7 MB, free: 11.86 MB / 366.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.006718/0.3945, allocations: 2.548 MB / 455.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3945, allocations: 9.719 kB / 455.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3954, allocations: 262.4 kB / 455.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.398, allocations: 1.31 MB / 456.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3981, allocations: 138.1 kB / 457 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.3985, allocations: 180.6 kB / 457.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/0.4029, allocations: 2.376 MB / 459.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.03e-05/0.403, allocations: 13.58 kB / 459.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.4032, allocations: 74.11 kB / 459.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.4033, allocations: 93.34 kB / 459.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.4069, allocations: 1.966 MB / 461.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.4182, allocations: 7.086 MB / 468.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.4199, allocations: 1.229 MB / 470 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4214, allocations: 0.8043 MB / 470.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.4216, allocations: 120.4 kB / 470.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4216, allocations: 42.42 kB / 471 MB, free: 4.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.337e-06/0.4216, allocations: 1.828 kB / 471 MB, free: 4.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01342/0.4351, allocations: 6.118 MB / 477.1 MB, free: 1.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.4351, allocations: 62.97 kB / 477.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.4369, allocations: 1.214 MB / 478.4 MB, free: 316 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.4369, allocations: 45.33 kB / 478.4 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008154/0.4378, allocations: 0.9058 MB / 479.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.4381, allocations: 380.8 kB / 479.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.4385, allocations: 219.7 kB / 479.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.4387, allocations: 363 kB / 480.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.4399, allocations: 0.6177 MB / 480.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.4412, allocations: 0.9177 MB / 481.8 MB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/0.4438, allocations: 1.648 MB / 483.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4438, allocations: 4 kB / 483.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004269/0.4481, allocations: 2.226 MB / 485.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4481, allocations: 9.031 kB / 485.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.4481, allocations: 10.34 kB / 485.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4493, allocations: 470.6 kB / 486.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.4503, allocations: 271.1 kB / 486.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.4578, allocations: 7.02 MB / 493.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.4594, allocations: 82.84 kB / 493.5 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.4595, allocations: 58.36 kB / 493.6 MB, free: 5.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.001355/0.4609, allocations: 0.5936 MB / 494.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.4613, allocations: 140.2 kB / 494.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.465, allocations: 2.019 MB / 496.3 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4651, allocations: 12 kB / 496.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.4651, allocations: 7.984 kB / 496.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4651, allocations: 3.984 kB / 496.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007522/0.4726, allocations: 4.208 MB / 0.4888 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4726, allocations: 11.97 kB / 0.4888 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.4734, allocations: 180.2 kB / 0.489 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.4748, allocations: 0.5251 MB / 0.4895 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.475, allocations: 31.98 kB / 0.4896 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/0.4848, allocations: 8.617 MB / 0.498 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4849, allocations: 7.375 kB / 0.498 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/0.4905, allocations: 2.942 MB / 0.5009 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.4916, allocations: 352.1 kB / 0.5012 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.4919, allocations: 33.44 kB / 0.5012 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000852/0.4927, allocations: 71.42 kB / 0.5013 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.493, allocations: 94.5 kB / 0.5014 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.4931, allocations: 35.98 kB / 0.5014 GB, free: 1.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001472/0.4946, allocations: 0.8345 MB / 0.5022 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4946, allocations: 0 / 0.5022 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4965, allocations: 415.9 kB / 0.5026 GB, free: 156 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (88): * Single equations (assignments): 83 * 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.0004357/0.4969, allocations: 186.2 kB / 0.5028 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.5008, allocations: 2.097 MB / 0.5048 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5008, allocations: 0 / 0.5048 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002585/0.5034, allocations: 1.431 MB / 0.5062 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.5057, allocations: 391.4 kB / 0.5066 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.513, allocations: 3.971 MB / 0.5105 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.5147, allocations: 1.634 MB / 0.5121 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009498/0.5156, allocations: 299.8 kB / 0.5124 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.5159, allocations: 91.42 kB / 0.5125 GB, free: 5.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5159, allocations: 0 / 0.5125 GB, free: 5.91 MB / 414.1 MB Notification: Performance of Templates: time 0.04403/0.5599, allocations: 23.02 MB / 0.5349 GB, free: 15.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.803190264850855]