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.001625/0.001625, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001883/0.001883, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.194/2.194, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.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.002189/0.002189, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3492, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01931/0.3685, allocations: 7.887 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009395/0.3779, allocations: 2.719 MB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.3795, allocations: 55.62 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.3827, allocations: 0.5939 MB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.3869, allocations: 0.7574 MB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3884, allocations: 323.6 kB / 444.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004594/0.393, allocations: 2.237 MB / 446.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.3955, allocations: 1.023 MB / 447.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.3981, allocations: 1.059 MB / 449 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.4016, allocations: 1.323 MB / 450.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000908/0.4025, allocations: 268 kB / 450.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.4038, allocations: 359.8 kB / 450.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.4051, allocations: 0.7752 MB / 451.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002038/0.4071, allocations: 0.9763 MB / 452.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006248/0.4134, allocations: 3.569 MB / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4134, allocations: 0 / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4134, allocations: 0 / 456.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.06e-05/0.4135, allocations: 0 / 456.2 MB, free: 14.68 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.008405/0.4219, allocations: 2.48 MB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4219, allocations: 8.031 kB / 458.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.4229, allocations: 263.4 kB / 459 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.4268, allocations: 1.242 MB / 460.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.427, allocations: 135.9 kB / 460.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005994/0.4276, allocations: 187.9 kB / 460.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007089/0.4347, allocations: 2.471 MB / 463 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-05/0.4348, allocations: 15.89 kB / 463 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.4351, allocations: 75.98 kB / 463.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.4352, allocations: 91.5 kB / 463.2 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005938/0.4412, allocations: 1.958 MB / 465.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.4604, allocations: 6.103 MB / 471.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.4638, allocations: 1.009 MB / 472.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.4666, allocations: 0.796 MB / 473.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.4669, allocations: 44.95 kB / 473.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.4669, allocations: 47.55 kB / 473.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 4.358e-06/0.467, allocations: 0 / 473.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.02622/0.4932, allocations: 5.653 MB / 478.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.4933, allocations: 64.41 kB / 478.9 MB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/0.4966, allocations: 1.071 MB / 479.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.4969, allocations: 45.7 kB / 480 MB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.4981, allocations: 0.8981 MB / 480.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008028/0.4989, allocations: 380.7 kB / 481.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008233/0.4997, allocations: 226.9 kB / 481.5 MB, free: 4.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.5, allocations: 357.9 kB / 481.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.5021, allocations: 0.6154 MB / 482.4 MB, free: 4.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.5046, allocations: 0.9188 MB / 483.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004734/0.5093, allocations: 1.643 MB / 485 MB, free: 1.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.5093, allocations: 4 kB / 485 MB, free: 1.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.007539/0.5169, allocations: 2.141 MB / 487.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.5169, allocations: 11.98 kB / 487.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.517, allocations: 8 kB / 487.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00221/0.5192, allocations: 476.1 kB / 487.6 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.5213, allocations: 267.6 kB / 487.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.5319, allocations: 6.598 MB / 494.5 MB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5334, allocations: 83.84 kB / 494.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5336, allocations: 48 kB / 494.6 MB, free: 7.258 MB / 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.001318/0.5349, allocations: 0.6044 MB / 495.2 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.5352, allocations: 131.2 kB / 495.4 MB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.5399, allocations: 1.932 MB / 497.3 MB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.5399, allocations: 15.94 kB / 497.3 MB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.5399, allocations: 4 kB / 497.3 MB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.54, allocations: 7.969 kB / 497.3 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5515, allocations: 3.657 MB / 0.4892 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/0.5515, allocations: 4 kB / 0.4892 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.5527, allocations: 175.7 kB / 0.4894 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.5549, allocations: 0.5236 MB / 0.4899 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.555, allocations: 31.98 kB / 0.4899 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01367/0.5687, allocations: 8.075 MB / 0.4978 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/0.5687, allocations: 4 kB / 0.4978 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008709/0.5774, allocations: 2.847 MB / 0.5006 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/0.5787, allocations: 270.9 kB / 0.5009 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/0.5792, allocations: 27.98 kB / 0.5009 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.5806, allocations: 83.86 kB / 0.501 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.581, allocations: 92.7 kB / 0.5011 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.5811, allocations: 32 kB / 0.5011 GB, free: 4.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.583, allocations: 0.7334 MB / 0.5018 GB, free: 3.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.583, allocations: 0 / 0.5018 GB, free: 3.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002758/0.5857, allocations: 408 kB / 0.5022 GB, free: 2.984 MB / 414.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.0006196/0.5863, allocations: 183 kB / 0.5024 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006148/0.5925, allocations: 1.943 MB / 0.5043 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.5925, allocations: 0 / 0.5043 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/0.5967, allocations: 1.358 MB / 0.5056 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/0.5998, allocations: 323.9 kB / 0.5059 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.6115, allocations: 3.965 MB / 0.5098 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.6136, allocations: 1.054 MB / 0.5108 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001829/0.6154, allocations: 282.7 kB / 0.5111 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.6159, allocations: 87.42 kB / 0.5112 GB, free: 9.578 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6159, allocations: 4 kB / 0.5112 GB, free: 9.574 MB / 430.1 MB Notification: Performance of Templates: time 0.07038/0.6863, allocations: 23.95 MB / 0.5346 GB, free: 1.965 MB / 446.1 MB " [Timeout remaining time 659] 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 cvode -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: 8.239569885001401]