Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.002014/0.002014, allocations: 85.28 kB / 20.68 MB, free: 1.035 MB / 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.002478/0.002478, allocations: 164.9 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.657e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01068/0.01071, allocations: 7.902 MB / 333 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007075/0.01778, allocations: 2.735 MB / 335.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.01945, allocations: 57.22 kB / 335.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.02172, allocations: 0.5983 MB / 336.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.02475, allocations: 0.7736 MB / 337.1 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.02593, allocations: 344.7 kB / 337.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.02983, allocations: 2.307 MB / 339.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.03192, allocations: 0.9826 MB / 340.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.03534, allocations: 1.532 MB / 342.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.03789, allocations: 1.114 MB / 343.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007385/0.03863, allocations: 268 kB / 343.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.03996, allocations: 363.8 kB / 344 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.04134, allocations: 0.7946 MB / 344.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.04341, allocations: 0.8341 MB / 345.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.04781, allocations: 3.587 MB / 349.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.04782, allocations: 0 / 349.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.04782, allocations: 4 kB / 349.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.176e-05/0.04789, allocations: 0 / 349.3 MB, free: 12.91 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.005361/0.05325, allocations: 2.447 MB / 351.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.0533, allocations: 8.031 kB / 351.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.05405, allocations: 259.5 kB / 352 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/0.05638, allocations: 1.261 MB / 353.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.0565, allocations: 131.9 kB / 353.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.05679, allocations: 184.3 kB / 353.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.06108, allocations: 2.479 MB / 356 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.223e-05/0.06113, allocations: 7.953 kB / 356 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/0.06132, allocations: 72 kB / 356.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.06143, allocations: 91.5 kB / 356.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.06516, allocations: 1.958 MB / 358.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.07634, allocations: 6.102 MB / 364.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.07828, allocations: 0.9971 MB / 365.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.07998, allocations: 0.7992 MB / 366 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.08019, allocations: 44.95 kB / 366.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.08023, allocations: 43.56 kB / 366.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.08023, allocations: 0 / 366.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.01502/0.09525, allocations: 5.64 MB / 371.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.09532, allocations: 64.41 kB / 371.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.09726, allocations: 1.079 MB / 372.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.09739, allocations: 45.7 kB / 372.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/0.09818, allocations: 0.9019 MB / 373.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.09858, allocations: 384.7 kB / 374.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.09897, allocations: 222.8 kB / 374.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.09915, allocations: 357.9 kB / 374.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.1003, allocations: 0.6154 MB / 375.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.1017, allocations: 0.9227 MB / 376.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.1047, allocations: 1.639 MB / 378 MB, free: 15.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.1047, allocations: 4 kB / 378 MB, free: 15.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004459/0.1091, allocations: 2.137 MB / 380.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.1092, allocations: 8 kB / 380.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.1092, allocations: 12 kB / 380.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.1106, allocations: 480.1 kB / 380.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.1116, allocations: 267.6 kB / 380.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/0.1194, allocations: 6.587 MB / 387.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.1205, allocations: 83.86 kB / 387.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.1206, allocations: 51.98 kB / 387.6 MB, free: 5.535 MB / 350.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.001324/0.122, allocations: 0.595 MB / 388.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.1224, allocations: 127.2 kB / 388.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.1265, allocations: 1.939 MB / 390.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.1265, allocations: 16 kB / 390.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.1265, allocations: 4 kB / 390.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.1265, allocations: 7.922 kB / 390.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007314/0.1339, allocations: 3.673 MB / 393.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.1339, allocations: 0 / 393.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008108/0.1347, allocations: 183.6 kB / 394.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.1361, allocations: 0.5224 MB / 394.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.1362, allocations: 27.98 kB / 394.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008655/0.1449, allocations: 8.052 MB / 402.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1449, allocations: 4 kB / 402.7 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/0.1499, allocations: 2.847 MB / 405.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.1507, allocations: 263 kB / 405.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.1509, allocations: 31.98 kB / 405.9 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.1518, allocations: 71.86 kB / 405.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.1521, allocations: 92.77 kB / 406 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/0.1521, allocations: 35.98 kB / 406.1 MB, free: 2.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001302/0.1534, allocations: 0.7295 MB / 406.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1534, allocations: 0 / 406.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001538/0.155, allocations: 415.9 kB / 407.2 MB, free: 1.285 MB / 366.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.0004196/0.1554, allocations: 186 kB / 407.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00375/0.1592, allocations: 1.943 MB / 409.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1592, allocations: 0 / 409.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.1616, allocations: 1.358 MB / 410.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.1634, allocations: 326.7 kB / 411 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/0.1706, allocations: 3.784 MB / 414.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.1722, allocations: 1.061 MB / 415.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001065/0.1733, allocations: 282.7 kB / 416.1 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.1737, allocations: 88.48 kB / 416.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1737, allocations: 0 / 416.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of Templates: time 0.04074/0.2144, allocations: 21.12 MB / 437.3 MB, free: 3.188 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.388374645262957]