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.001733/0.001733, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002273/0.002273, allocations: 214.7 kB / 23 MB, free: 5.609 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.463/1.463, allocations: 230.2 MB / 256.2 MB, free: 8.73 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.002008/0.002008, allocations: 63.89 kB / 376.5 MB, free: 3.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3792, allocations: 53.32 MB / 429.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01736/0.3966, allocations: 8.961 MB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007842/0.4044, allocations: 2.909 MB / 441.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.4061, allocations: 51.81 kB / 441.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.4091, allocations: 0.629 MB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.412, allocations: 0.7418 MB / 443.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.4131, allocations: 331.4 kB / 443.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.4162, allocations: 2.241 MB / 445.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.4176, allocations: 1.02 MB / 446.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.4192, allocations: 1.043 MB / 447.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.4211, allocations: 1.316 MB / 449 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.4215, allocations: 268 kB / 449.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.4222, allocations: 363.8 kB / 449.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008179/0.423, allocations: 0.7713 MB / 450.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.4244, allocations: 1.213 MB / 451.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004114/0.4285, allocations: 3.54 MB / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4285, allocations: 0 / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4285, allocations: 0 / 455.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.591e-05/0.4286, allocations: 4 kB / 455.2 MB, free: 14.09 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.005311/0.4339, allocations: 2.549 MB / 457.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4339, allocations: 12.03 kB / 457.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/0.4347, allocations: 271.4 kB / 458 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.4371, allocations: 1.314 MB / 459.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.4372, allocations: 135.9 kB / 459.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.4375, allocations: 183.9 kB / 459.6 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.4418, allocations: 2.371 MB / 462 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/0.4419, allocations: 15.94 kB / 462 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.4421, allocations: 72 kB / 462.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.4422, allocations: 91.5 kB / 462.2 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.446, allocations: 1.966 MB / 464.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.4588, allocations: 7.084 MB / 471.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4609, allocations: 1.222 MB / 472.5 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.4625, allocations: 0.8034 MB / 473.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002975/0.4628, allocations: 122.1 kB / 473.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4629, allocations: 44.12 kB / 473.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.306e-06/0.4629, allocations: 3.938 kB / 473.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01476/0.4776, allocations: 6.108 MB / 479.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.4777, allocations: 64.41 kB / 479.6 MB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.4797, allocations: 1.215 MB / 480.8 MB, free: 3.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4798, allocations: 49.64 kB / 480.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/0.4805, allocations: 0.8909 MB / 481.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.4809, allocations: 388.7 kB / 482.1 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/0.4813, allocations: 214.9 kB / 482.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4814, allocations: 357.9 kB / 482.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.4825, allocations: 0.6155 MB / 483.3 MB, free: 1.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4839, allocations: 0.9188 MB / 484.2 MB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.4864, allocations: 1.643 MB / 485.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4864, allocations: 4 kB / 485.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004075/0.4905, allocations: 2.22 MB / 488.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.4905, allocations: 11.94 kB / 488.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4906, allocations: 8 kB / 488.1 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4917, allocations: 484.2 kB / 488.6 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.4928, allocations: 271.6 kB / 488.8 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.5003, allocations: 7.033 MB / 495.9 MB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5015, allocations: 79.92 kB / 496 MB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.5016, allocations: 51.97 kB / 496 MB, free: 3.887 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.001034/0.5026, allocations: 0.6028 MB / 496.6 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.5029, allocations: 143 kB / 496.8 MB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.5065, allocations: 2.024 MB / 498.8 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5065, allocations: 12 kB / 498.8 MB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.5065, allocations: 4 kB / 498.8 MB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5065, allocations: 3.984 kB / 498.8 MB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/0.5136, allocations: 4.199 MB / 0.4912 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.5136, allocations: 0 / 0.4912 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.5144, allocations: 180.2 kB / 0.4914 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.5158, allocations: 0.5231 MB / 0.4919 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.294e-05/0.5159, allocations: 35.98 kB / 0.4919 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00899/0.5249, allocations: 8.628 MB / 0.5003 GB, free: 2.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.5249, allocations: 7.938 kB / 0.5004 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.5299, allocations: 2.938 MB / 0.5032 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.5307, allocations: 356 kB / 0.5036 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.5309, allocations: 27.94 kB / 0.5036 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.5316, allocations: 71.92 kB / 0.5037 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.5319, allocations: 92.81 kB / 0.5037 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.532, allocations: 39.92 kB / 0.5038 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.5334, allocations: 0.8345 MB / 0.5046 GB, free: 14.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5334, allocations: 0 / 0.5046 GB, free: 14.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001696/0.5351, allocations: 407.9 kB / 0.505 GB, free: 13.89 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.0004626/0.5356, allocations: 197.5 kB / 0.5052 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.5393, allocations: 2.095 MB / 0.5072 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5393, allocations: 128 / 0.5072 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5418, allocations: 1.44 MB / 0.5086 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.5437, allocations: 387.5 kB / 0.509 GB, free: 9.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.5503, allocations: 3.974 MB / 0.5129 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.5518, allocations: 1.638 MB / 0.5145 GB, free: 3.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009448/0.5527, allocations: 303.8 kB / 0.5148 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.553, allocations: 99.42 kB / 0.5149 GB, free: 3.516 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.553, allocations: 0 / 0.5149 GB, free: 3.516 MB / 430.1 MB Notification: Performance of Templates: time 0.2607/0.8137, allocations: 23.37 MB / 0.5377 GB, free: 102.4 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.84030687622726]