Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001385, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09756, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01088/0.1085, allocations: 8.842 MB / 417 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005794/0.1143, allocations: 2.82 MB / 419.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.1155, allocations: 43.81 kB / 419.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.1172, allocations: 0.5977 MB / 420.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.1193, allocations: 0.7105 MB / 421.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.12, allocations: 319.5 kB / 421.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.1227, allocations: 2.233 MB / 423.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.125, allocations: 1.746 MB / 425.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.1266, allocations: 1.005 MB / 426.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.1286, allocations: 1.281 MB / 427.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.129, allocations: 268 kB / 428 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.1298, allocations: 363.8 kB / 428.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007924/0.1306, allocations: 0.7635 MB / 429.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001449/0.132, allocations: 1.202 MB / 430.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1932/0.3253, allocations: 3.538 MB / 433.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3253, allocations: 0 / 433.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3253, allocations: 0.6562 kB / 433.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.192e-05/0.3254, allocations: 0 / 433.8 MB, free: 9.398 MB / 350.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.005033/0.3305, allocations: 2.538 MB / 436.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3305, allocations: 11.3 kB / 436.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.3311, allocations: 264.4 kB / 436.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.3332, allocations: 1.305 MB / 437.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3333, allocations: 134.2 kB / 438.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.3337, allocations: 186.9 kB / 438.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.3377, allocations: 2.372 MB / 440.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/0.3377, allocations: 6.609 kB / 440.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.3379, allocations: 75.47 kB / 440.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.338, allocations: 92.61 kB / 440.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.3413, allocations: 1.966 MB / 442.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009609/0.3509, allocations: 7.081 MB / 449.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3525, allocations: 1.269 MB / 451.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.354, allocations: 0.8576 MB / 452 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.3542, allocations: 123.4 kB / 452.1 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3542, allocations: 46.83 kB / 452.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.116e-06/0.3543, allocations: 1.156 kB / 452.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01271/0.367, allocations: 6.127 MB / 458.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.367, allocations: 65.5 kB / 458.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.3685, allocations: 1.211 MB / 459.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.3686, allocations: 44.77 kB / 459.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.369, allocations: 0.8894 MB / 460.5 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.3693, allocations: 380 kB / 460.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.3697, allocations: 224.1 kB / 461.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3698, allocations: 354.9 kB / 461.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3709, allocations: 0.6185 MB / 462 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3722, allocations: 0.9182 MB / 462.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.3744, allocations: 1.645 MB / 464.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.3744, allocations: 9.094 kB / 464.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003689/0.3781, allocations: 2.228 MB / 466.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3782, allocations: 9.844 kB / 466.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.3782, allocations: 11.25 kB / 466.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.3793, allocations: 484.7 kB / 467.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.3802, allocations: 269.7 kB / 467.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.3878, allocations: 7.016 MB / 474.6 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3891, allocations: 83.25 kB / 474.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.3892, allocations: 51.98 kB / 474.7 MB, free: 4.742 MB / 366.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.001144/0.3904, allocations: 0.5973 MB / 475.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.3907, allocations: 139.1 kB / 475.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.3945, allocations: 2.027 MB / 477.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.3945, allocations: 19.88 kB / 477.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.3946, allocations: 4 kB / 477.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3946, allocations: 3.984 kB / 477.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.4024, allocations: 4.214 MB / 481.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4024, allocations: 4 kB / 481.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/0.4032, allocations: 185.3 kB / 481.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.4046, allocations: 0.5154 MB / 482.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.4047, allocations: 31.98 kB / 482.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/0.4137, allocations: 8.636 MB / 491.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.4137, allocations: 4 kB / 491.1 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.4187, allocations: 2.947 MB / 494 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008302/0.4196, allocations: 356 kB / 494.4 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.4198, allocations: 31.55 kB / 494.4 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008028/0.4206, allocations: 71.92 kB / 494.5 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.4209, allocations: 91.91 kB / 494.6 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.421, allocations: 35.98 kB / 494.6 MB, free: 192 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001291/0.4223, allocations: 0.8343 MB / 495.5 MB, free: 15.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4223, allocations: 0 / 495.5 MB, free: 15.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4238, allocations: 404 kB / 495.9 MB, free: 14.95 MB / 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.0004071/0.4242, allocations: 197 kB / 496 MB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003706/0.4279, allocations: 2.176 MB / 498.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.428, allocations: 6.812 kB / 498.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.4304, allocations: 1.467 MB / 499.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.4324, allocations: 388.5 kB / 0.4884 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.439, allocations: 4.01 MB / 0.4923 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.4405, allocations: 1.614 MB / 0.4938 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.4411, allocations: 109.4 kB / 0.4939 GB, free: 4.84 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4411, allocations: 0 / 0.4939 GB, free: 4.84 MB / 398.1 MB Notification: Performance of Templates: time 0.1009/0.542, allocations: 68.16 MB / 0.5605 GB, free: 0.7031 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.339036562945694]