Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003004/0.003004, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 43.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.286, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01201/0.298, allocations: 8.931 MB / 429.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.3044, allocations: 2.848 MB / 432.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.3062, allocations: 43.81 kB / 432.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.3082, allocations: 0.6368 MB / 433.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.3115, allocations: 0.734 MB / 434.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.313, allocations: 331.5 kB / 434.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004354/0.3174, allocations: 2.222 MB / 436.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.319, allocations: 1.027 MB / 437.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.3206, allocations: 1.016 MB / 438.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.3224, allocations: 1.312 MB / 440 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.3228, allocations: 271.9 kB / 440.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000727/0.3236, allocations: 371.8 kB / 440.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007745/0.3243, allocations: 0.7596 MB / 441.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.3258, allocations: 1.21 MB / 442.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.3301, allocations: 3.53 MB / 446.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3301, allocations: 3.938 kB / 446.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3301, allocations: 8 kB / 446.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-05/0.3302, allocations: 3.938 kB / 446.1 MB, free: 5.746 MB / 350.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.005771/0.3359, allocations: 2.534 MB / 448.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.336, allocations: 12.03 kB / 448.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/0.3367, allocations: 263.4 kB / 448.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.3393, allocations: 1.306 MB / 450.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.3394, allocations: 135.9 kB / 450.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.3397, allocations: 184.1 kB / 450.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/0.3442, allocations: 2.371 MB / 452.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/0.3442, allocations: 7.953 kB / 452.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3444, allocations: 75.91 kB / 453 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.3445, allocations: 91.5 kB / 453.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003566/0.3481, allocations: 1.966 MB / 455 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.36, allocations: 7.096 MB / 462.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.3619, allocations: 1.212 MB / 463.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.3634, allocations: 0.8227 MB / 464.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.3637, allocations: 118.1 kB / 464.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3637, allocations: 43.56 kB / 464.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.3637, allocations: 0 / 464.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01396/0.3777, allocations: 6.108 MB / 470.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.3777, allocations: 68.41 kB / 470.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.3796, allocations: 1.211 MB / 471.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.3797, allocations: 49.64 kB / 471.8 MB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006924/0.3804, allocations: 0.8869 MB / 472.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3807, allocations: 384.8 kB / 473 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.3811, allocations: 222.9 kB / 473.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3812, allocations: 353.9 kB / 473.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.3823, allocations: 0.6194 MB / 474.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.3836, allocations: 0.9227 MB / 475.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.3859, allocations: 1.635 MB / 476.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.386, allocations: 4 kB / 476.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004014/0.39, allocations: 2.22 MB / 479 MB, free: 3.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.39, allocations: 8.25 kB / 479 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.39, allocations: 16 kB / 479 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3912, allocations: 475.9 kB / 479.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.3922, allocations: 275.6 kB / 479.7 MB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/0.3996, allocations: 7.016 MB / 486.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.4008, allocations: 79.86 kB / 486.8 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.401, allocations: 48 kB / 486.9 MB, free: 11.61 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.001175/0.4021, allocations: 0.6066 MB / 487.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.4025, allocations: 139.1 kB / 487.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.4063, allocations: 2.027 MB / 489.7 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.4063, allocations: 12 kB / 489.7 MB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.4063, allocations: 8 kB / 489.7 MB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4063, allocations: 3.984 kB / 489.7 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007742/0.4141, allocations: 4.2 MB / 493.9 MB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4141, allocations: 4 kB / 493.9 MB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.4148, allocations: 180.2 kB / 494.1 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.4163, allocations: 0.5253 MB / 494.6 MB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/0.4164, allocations: 31.97 kB / 494.6 MB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00887/0.4252, allocations: 8.623 MB / 0.4914 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.4252, allocations: 7.938 kB / 0.4915 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.4304, allocations: 2.95 MB / 0.4943 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.4313, allocations: 356 kB / 0.4947 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.4315, allocations: 28 kB / 0.4947 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007652/0.4323, allocations: 75.86 kB / 0.4948 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.4325, allocations: 88.8 kB / 0.4949 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.4326, allocations: 35.98 kB / 0.4949 GB, free: 6.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.434, allocations: 0.8381 MB / 0.4957 GB, free: 5.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.434, allocations: 4 kB / 0.4957 GB, free: 5.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4356, allocations: 411.9 kB / 0.4961 GB, free: 5.59 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.0004417/0.4361, allocations: 183 kB / 0.4963 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.4399, allocations: 2.103 MB / 0.4983 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4399, allocations: 0 / 0.4983 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.4423, allocations: 1.428 MB / 0.4997 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.4442, allocations: 383.7 kB / 0.5001 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.4515, allocations: 3.984 MB / 0.504 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.4534, allocations: 1.638 MB / 0.5056 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001215/0.4546, allocations: 291.8 kB / 0.5059 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.4548, allocations: 99.41 kB / 0.506 GB, free: 11.22 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.4548, allocations: 0 / 0.506 GB, free: 11.22 MB / 430.1 MB Notification: Performance of Templates: time 0.0447/0.4995, allocations: 23.29 MB / 0.5287 GB, free: 4.141 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.732064615003765]