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.001699/0.001699, allocations: 75.73 kB / 21.24 MB, free: 400 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.002078/0.002078, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 8.949 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 0.001553/0.001553, allocations: 54.8 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08976, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01034/0.1001, allocations: 7.881 MB / 386.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005503/0.1056, allocations: 2.727 MB / 389.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.1064, allocations: 55.62 kB / 389.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1078, allocations: 0.5822 MB / 390.2 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.1096, allocations: 0.7535 MB / 390.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.1103, allocations: 327.5 kB / 391.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.1127, allocations: 2.245 MB / 393.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.1141, allocations: 0.9814 MB / 394.5 MB, free: 28 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.1155, allocations: 1.047 MB / 395.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.1173, allocations: 1.241 MB / 396.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003789/0.1177, allocations: 272 kB / 397 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.1183, allocations: 359.8 kB / 397.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008057/0.1191, allocations: 0.7713 MB / 398.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.1202, allocations: 0.9763 MB / 399.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.1238, allocations: 3.573 MB / 402.7 MB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1238, allocations: 4 kB / 402.7 MB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1238, allocations: 3.938 kB / 402.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.741e-05/0.1239, allocations: 0 / 402.7 MB, free: 7.766 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.004915/0.1288, allocations: 2.474 MB / 405.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1288, allocations: 8.031 kB / 405.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.1295, allocations: 267.4 kB / 405.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.1318, allocations: 1.246 MB / 406.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1319, allocations: 139.9 kB / 406.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.1322, allocations: 183.9 kB / 407 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.1363, allocations: 2.471 MB / 409.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.1363, allocations: 11.88 kB / 409.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.1365, allocations: 72 kB / 409.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.1366, allocations: 87.52 kB / 409.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.1401, allocations: 1.97 MB / 411.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.1504, allocations: 6.11 MB / 417.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.1522, allocations: 0.9903 MB / 418.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.1538, allocations: 0.8148 MB / 419.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.154, allocations: 44.97 kB / 419.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.154, allocations: 43.56 kB / 419.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.524e-06/0.154, allocations: 0 / 419.6 MB, free: 6.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01366/0.1677, allocations: 5.641 MB / 425.3 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1677, allocations: 64.41 kB / 425.3 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.1693, allocations: 1.075 MB / 426.4 MB, free: 15.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.1694, allocations: 41.7 kB / 426.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/0.1701, allocations: 0.9019 MB / 427.3 MB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.1704, allocations: 384.8 kB / 427.7 MB, free: 14.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/0.1708, allocations: 222.9 kB / 427.9 MB, free: 14.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.171, allocations: 353.9 kB / 428.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.172, allocations: 0.6233 MB / 428.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.1734, allocations: 0.9188 MB / 429.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.1759, allocations: 1.639 MB / 431.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.1759, allocations: 4 kB / 431.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003981/0.1799, allocations: 2.145 MB / 433.6 MB, free: 8.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1799, allocations: 8.25 kB / 433.6 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1799, allocations: 12 kB / 433.6 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.1811, allocations: 471.9 kB / 434.1 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1821, allocations: 279.5 kB / 434.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/0.1892, allocations: 6.592 MB / 441 MB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.1903, allocations: 87.84 kB / 441 MB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.1903, allocations: 47.98 kB / 441.1 MB, free: 340 kB / 398.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.0009865/0.1913, allocations: 0.5902 MB / 441.7 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.1916, allocations: 135.2 kB / 441.8 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/0.1951, allocations: 1.936 MB / 443.7 MB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.1952, allocations: 15.94 kB / 443.8 MB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1952, allocations: 4 kB / 443.8 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1952, allocations: 3.984 kB / 443.8 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.2017, allocations: 3.662 MB / 447.4 MB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.2018, allocations: 4 kB / 447.4 MB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.2025, allocations: 175.7 kB / 447.6 MB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.2039, allocations: 0.5233 MB / 448.1 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.204, allocations: 27.98 kB / 448.2 MB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008815/0.2128, allocations: 8.073 MB / 456.2 MB, free: 0.6406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2128, allocations: 11.92 kB / 456.2 MB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.2176, allocations: 2.843 MB / 459.1 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.2182, allocations: 263 kB / 459.3 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.2184, allocations: 31.98 kB / 459.4 MB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.2191, allocations: 71.92 kB / 459.4 MB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.2193, allocations: 96.7 kB / 459.5 MB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.2194, allocations: 39.98 kB / 459.6 MB, free: 13.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.2205, allocations: 0.7256 MB / 460.3 MB, free: 12.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2205, allocations: 4 kB / 460.3 MB, free: 12.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001365/0.2218, allocations: 407.9 kB / 460.7 MB, free: 12.08 MB / 430.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.0003338/0.2222, allocations: 183 kB / 460.9 MB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2255, allocations: 1.949 MB / 462.8 MB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2255, allocations: 8.25 kB / 462.8 MB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.2277, allocations: 1.357 MB / 464.2 MB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.2292, allocations: 317.2 kB / 464.5 MB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.2354, allocations: 3.951 MB / 468.5 MB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.2367, allocations: 1.054 MB / 469.5 MB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009144/0.2376, allocations: 282.7 kB / 469.8 MB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.2379, allocations: 88.48 kB / 469.9 MB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2379, allocations: 8 kB / 469.9 MB, free: 2.672 MB / 430.1 MB Notification: Performance of Templates: time 0.2039/0.4418, allocations: 21.25 MB / 491.1 MB, free: 77.27 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/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.342676953994669]