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.0008828/0.0008828, allocations: 88.28 kB / 21.43 MB, free: 3.129 MB / 18.57 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.0046/0.0046, allocations: 152.3 kB / 24.69 MB, free: 8.906 MB / 18.57 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 0.8337/0.8337, allocations: 177 MB / 204.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.172e-06/1.172e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.912e-05, allocations: 6.219 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.005808/0.005827, allocations: 7.892 MB / 333.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.008861, allocations: 2.73 MB / 336.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.009238, allocations: 59.62 kB / 336.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.01008, allocations: 0.5976 MB / 337.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009608/0.01104, allocations: 0.7723 MB / 337.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.01154, allocations: 331.4 kB / 338.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01282, allocations: 2.318 MB / 340.5 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.01358, allocations: 0.9852 MB / 341.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.01485, allocations: 1.524 MB / 343 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008449/0.01569, allocations: 1.114 MB / 344.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.01588, allocations: 268 kB / 344.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.01622, allocations: 367.7 kB / 344.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.01664, allocations: 0.7946 MB / 345.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.01713, allocations: 0.8341 MB / 346.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.01953, allocations: 3.587 MB / 349.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01954, allocations: 0 / 349.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01954, allocations: 0 / 349.9 MB, free: 7.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.01956, allocations: 0 / 349.9 MB, free: 7.07 MB / 314.7 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.002501/0.02206, allocations: 2.45 MB / 352.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.02209, allocations: 15.98 kB / 352.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.02246, allocations: 263.5 kB / 352.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.02373, allocations: 1.237 MB / 353.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.0238, allocations: 139.9 kB / 354 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.02397, allocations: 192.2 kB / 354.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.02657, allocations: 2.479 MB / 356.7 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.02661, allocations: 15.88 kB / 356.7 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.02674, allocations: 71.98 kB / 356.8 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/0.02683, allocations: 91.52 kB / 356.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.0291, allocations: 1.958 MB / 358.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005777/0.03488, allocations: 6.094 MB / 364.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.03591, allocations: 0.9933 MB / 365.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/0.03678, allocations: 0.8109 MB / 366.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.03691, allocations: 40.97 kB / 366.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.03693, allocations: 47.56 kB / 366.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.475e-06/0.03693, allocations: 3.938 kB / 366.8 MB, free: 5.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.00726/0.04419, allocations: 5.638 MB / 372.5 MB, free: 160 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.04423, allocations: 68.41 kB / 372.5 MB, free: 80 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.04511, allocations: 1.079 MB / 373.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.04516, allocations: 41.7 kB / 373.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.04554, allocations: 0.898 MB / 374.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.04573, allocations: 380.7 kB / 374.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.04594, allocations: 218.9 kB / 375.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003425/0.04628, allocations: 357.8 kB / 375.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/0.04688, allocations: 0.6194 MB / 376.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007496/0.04763, allocations: 0.9227 MB / 377 MB, free: 11.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.04903, allocations: 1.635 MB / 378.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.04903, allocations: 4 kB / 378.7 MB, free: 9.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002105/0.05114, allocations: 2.137 MB / 380.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.05115, allocations: 8 kB / 380.8 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.05117, allocations: 15.98 kB / 380.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.05177, allocations: 476.2 kB / 381.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.05227, allocations: 275.5 kB / 381.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.05637, allocations: 6.583 MB / 388.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.05681, allocations: 87.94 kB / 388.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.05686, allocations: 51.98 kB / 388.3 MB, free: 15.68 MB / 362.7 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.0006499/0.05751, allocations: 0.5949 MB / 388.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.05764, allocations: 127.2 kB / 389 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.05986, allocations: 1.936 MB / 390.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.05986, allocations: 8 kB / 390.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.05987, allocations: 4 kB / 390.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.05988, allocations: 11.92 kB / 391 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003669/0.06354, allocations: 3.661 MB / 394.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.06355, allocations: 4 kB / 394.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.06392, allocations: 188.2 kB / 394.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.06461, allocations: 0.5153 MB / 395.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.06465, allocations: 35.97 kB / 395.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004586/0.06924, allocations: 8.053 MB / 403.4 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.06924, allocations: 11.98 kB / 403.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.07212, allocations: 2.839 MB / 406.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.07247, allocations: 255 kB / 406.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.07256, allocations: 31.98 kB / 406.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.07292, allocations: 79.86 kB / 406.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.07306, allocations: 92.77 kB / 406.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.0731, allocations: 35.98 kB / 406.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006682/0.07376, allocations: 0.7256 MB / 407.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.07377, allocations: 0 / 407.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009892/0.07475, allocations: 419.8 kB / 407.9 MB, free: 11.45 MB / 378.7 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.0002646/0.07502, allocations: 194.8 kB / 408.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.07704, allocations: 1.941 MB / 410 MB, free: 9.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.07704, allocations: 4 kB / 410 MB, free: 9.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.07852, allocations: 1.353 MB / 411.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.07936, allocations: 324.6 kB / 411.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/0.08486, allocations: 3.824 MB / 415.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/0.08568, allocations: 1.046 MB / 416.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.08604, allocations: 96.48 kB / 416.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.08604, allocations: 0 / 416.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of Templates: time 0.1789/0.2649, allocations: 68.11 MB / 484.8 MB, free: 90.52 MB / 410.7 MB " [Timeout remaining time 660] 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: 7.290485709905624]