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.001304/0.001304, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.001388/0.001388, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.461/1.461, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001468/0.001468, allocations: 51.91 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.2444/0.3625, allocations: 8.921 MB / 436.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.3679, allocations: 2.903 MB / 439.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.3696, allocations: 57.78 kB / 439.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.3714, allocations: 0.6352 MB / 440 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.3745, allocations: 0.7343 MB / 440.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009206/0.3755, allocations: 335.7 kB / 441.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.3786, allocations: 2.233 MB / 443.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.3804, allocations: 1.28 MB / 444.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.3826, allocations: 1.052 MB / 445.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.3847, allocations: 1.319 MB / 447 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000481/0.3852, allocations: 269.5 kB / 447.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009885/0.3862, allocations: 371.8 kB / 447.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008222/0.387, allocations: 0.7666 MB / 448.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.3885, allocations: 1.208 MB / 449.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.3937, allocations: 3.543 MB / 453.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3937, allocations: 1.062 kB / 453.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3937, allocations: 4 kB / 453.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.3938, allocations: 0 / 453.1 MB, free: 15.11 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.007243/0.401, allocations: 2.561 MB / 455.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4011, allocations: 9.625 kB / 455.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.402, allocations: 264.9 kB / 455.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4046, allocations: 1.31 MB / 457.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.4047, allocations: 132.7 kB / 457.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.4051, allocations: 188.3 kB / 457.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.4097, allocations: 2.373 MB / 459.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/0.4098, allocations: 10.52 kB / 459.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.41, allocations: 71.75 kB / 460 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.4101, allocations: 96.19 kB / 460.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.4139, allocations: 1.957 MB / 462.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.4265, allocations: 7.083 MB / 469.1 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.4284, allocations: 1.223 MB / 470.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.43, allocations: 0.8182 MB / 471.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.4303, allocations: 118.5 kB / 471.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4303, allocations: 40.81 kB / 471.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.795e-06/0.4303, allocations: 0 / 471.3 MB, free: 3.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01547/0.4458, allocations: 6.11 MB / 477.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.4459, allocations: 60.41 kB / 477.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.448, allocations: 1.223 MB / 478.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.4482, allocations: 41.7 kB / 478.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/0.449, allocations: 0.887 MB / 479.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.4493, allocations: 384.8 kB / 480 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.4497, allocations: 218.9 kB / 480.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.4499, allocations: 357.9 kB / 480.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.451, allocations: 0.6194 MB / 481.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.4523, allocations: 0.9188 MB / 482.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.4549, allocations: 1.643 MB / 483.8 MB, free: 7.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.4549, allocations: 4 kB / 483.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004324/0.4592, allocations: 2.22 MB / 486 MB, free: 5.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4592, allocations: 8.25 kB / 486 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.4593, allocations: 16 kB / 486 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.4605, allocations: 481.1 kB / 486.5 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.4615, allocations: 271.6 kB / 486.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007763/0.4693, allocations: 7.024 MB / 493.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4708, allocations: 85.59 kB / 493.9 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.4709, allocations: 55.98 kB / 493.9 MB, free: 12.82 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.001216/0.4721, allocations: 0.5912 MB / 494.5 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003432/0.4725, allocations: 139.1 kB / 494.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.4764, allocations: 2.02 MB / 496.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4764, allocations: 12 kB / 496.7 MB, free: 10 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4765, allocations: 4 kB / 496.7 MB, free: 9.996 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.4765, allocations: 7.969 kB / 496.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/0.4846, allocations: 4.203 MB / 0.4892 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.4846, allocations: 4 kB / 0.4892 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.4854, allocations: 188.1 kB / 0.4893 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4869, allocations: 0.5193 MB / 0.4898 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/0.487, allocations: 27.98 kB / 0.4899 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009102/0.4961, allocations: 8.628 MB / 0.4983 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4961, allocations: 4 kB / 0.4983 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.5014, allocations: 2.935 MB / 0.5012 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.5024, allocations: 360 kB / 0.5015 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.5026, allocations: 35.92 kB / 0.5015 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.5035, allocations: 75.8 kB / 0.5016 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.5038, allocations: 88.81 kB / 0.5017 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.5038, allocations: 32 kB / 0.5017 GB, free: 8.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.5052, allocations: 0.8422 MB / 0.5026 GB, free: 7.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5052, allocations: 4 kB / 0.5026 GB, free: 7.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001701/0.5069, allocations: 412 kB / 0.503 GB, free: 6.844 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.0004074/0.5073, allocations: 187.5 kB / 0.5031 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.5112, allocations: 2.099 MB / 0.5052 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5112, allocations: 0 / 0.5052 GB, free: 4.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5137, allocations: 1.432 MB / 0.5066 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.5159, allocations: 396.2 kB / 0.507 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007111/0.523, allocations: 3.996 MB / 0.5109 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.5245, allocations: 1.618 MB / 0.5124 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.5249, allocations: 99.42 kB / 0.5125 GB, free: 12.78 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5249, allocations: 0 / 0.5125 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Templates: time 0.0804/0.6053, allocations: 68.47 MB / 0.5794 GB, free: 8.293 MB / 494.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 -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: 12.61476939500426]