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.001854/0.001854, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002115/0.002115, allocations: 214.7 kB / 23.73 MB, free: 4.16 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.537/1.537, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.001984/0.001984, allocations: 63.88 kB / 378.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2679, allocations: 53.41 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.012/0.2799, allocations: 7.883 MB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.2864, allocations: 2.722 MB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.2879, allocations: 59.56 kB / 442.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2899, allocations: 0.5862 MB / 442.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.2927, allocations: 0.7534 MB / 443.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2938, allocations: 331.5 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003192/0.297, allocations: 2.237 MB / 446.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.2988, allocations: 0.9813 MB / 447.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3005, allocations: 1.059 MB / 448.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.3027, allocations: 1.237 MB / 449.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.3033, allocations: 272 kB / 449.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000993/0.3043, allocations: 359.8 kB / 450.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3053, allocations: 0.7596 MB / 450.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.3071, allocations: 0.9841 MB / 451.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004168/0.3113, allocations: 3.571 MB / 455.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3113, allocations: 0 / 455.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3113, allocations: 0 / 455.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.375e-05/0.3113, allocations: 0 / 455.4 MB, free: 14.63 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.004951/0.3163, allocations: 2.478 MB / 457.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3163, allocations: 15.98 kB / 457.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/0.317, allocations: 263.4 kB / 458.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.3195, allocations: 1.246 MB / 459.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3196, allocations: 131.9 kB / 459.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.3199, allocations: 183.9 kB / 459.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004194/0.3241, allocations: 2.475 MB / 462.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.3242, allocations: 11.95 kB / 462.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.3244, allocations: 72 kB / 462.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3245, allocations: 91.5 kB / 462.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/0.3281, allocations: 1.962 MB / 464.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.339, allocations: 6.114 MB / 470.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3409, allocations: 0.993 MB / 471.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.3425, allocations: 0.7991 MB / 472.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.3427, allocations: 48.97 kB / 472.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3427, allocations: 39.56 kB / 472.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/0.3427, allocations: 0 / 472.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01444/0.3571, allocations: 5.663 MB / 478 MB, free: 7.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.3572, allocations: 60.41 kB / 478 MB, free: 7.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.3589, allocations: 1.079 MB / 479.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-05/0.359, allocations: 49.64 kB / 479.2 MB, free: 6.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/0.3598, allocations: 0.8942 MB / 480.1 MB, free: 5.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.3602, allocations: 380.7 kB / 480.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.3605, allocations: 222.9 kB / 480.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3607, allocations: 357.9 kB / 481 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3619, allocations: 0.6155 MB / 481.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.3633, allocations: 0.9227 MB / 482.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.3659, allocations: 1.639 MB / 484.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3659, allocations: 0 / 484.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004134/0.37, allocations: 2.145 MB / 486.3 MB, free: 14.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.37, allocations: 12.25 kB / 486.3 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.37, allocations: 12 kB / 486.4 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3712, allocations: 467.9 kB / 486.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3722, allocations: 275.6 kB / 487.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007358/0.3795, allocations: 6.587 MB / 493.7 MB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.3806, allocations: 87.84 kB / 493.7 MB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.3807, allocations: 44 kB / 493.8 MB, free: 7.207 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.001069/0.3818, allocations: 0.6024 MB / 494.4 MB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.382, allocations: 139.1 kB / 494.5 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.3857, allocations: 1.924 MB / 496.5 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3857, allocations: 11.94 kB / 496.5 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3857, allocations: 8 kB / 496.5 MB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3857, allocations: 3.984 kB / 496.5 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/0.3933, allocations: 3.669 MB / 0.4884 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.3933, allocations: 4 kB / 0.4884 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/0.3941, allocations: 179.8 kB / 0.4886 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.3955, allocations: 0.5273 MB / 0.4891 GB, free: 0 / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.3956, allocations: 32.06 kB / 0.4891 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008882/0.4045, allocations: 8.068 MB / 0.497 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.4045, allocations: 7.938 kB / 0.497 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005121/0.4096, allocations: 2.843 MB / 0.4998 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/0.4105, allocations: 259 kB / 0.5001 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.4107, allocations: 28 kB / 0.5001 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.4116, allocations: 71.92 kB / 0.5002 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.4118, allocations: 96.7 kB / 0.5002 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.4119, allocations: 35.98 kB / 0.5003 GB, free: 4.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001235/0.4131, allocations: 0.7333 MB / 0.501 GB, free: 3.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4131, allocations: 8 kB / 0.501 GB, free: 3.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4147, allocations: 404 kB / 0.5014 GB, free: 2.941 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.0004138/0.4151, allocations: 194 kB / 0.5016 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.4187, allocations: 1.945 MB / 0.5035 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4187, allocations: 4.062 kB / 0.5035 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/0.4212, allocations: 1.361 MB / 0.5048 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.4229, allocations: 324.2 kB / 0.5051 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.4298, allocations: 3.953 MB / 0.509 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.4314, allocations: 1.05 MB / 0.51 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009311/0.4323, allocations: 286.7 kB / 0.5103 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.4326, allocations: 91.42 kB / 0.5104 GB, free: 9.523 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4326, allocations: 0 / 0.5104 GB, free: 9.523 MB / 430.1 MB Notification: Performance of Templates: time 0.04253/0.4751, allocations: 23.48 MB / 0.5333 GB, free: 2.328 MB / 446.1 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: 5.764706116169691]