Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001907/0.001907, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002309/0.002309, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 53.32 MB / 432.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01193/0.2847, allocations: 8.951 MB / 441 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.2906, allocations: 2.906 MB / 443.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/0.2915, allocations: 47.81 kB / 444 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.293, allocations: 0.6445 MB / 444.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.2949, allocations: 0.7418 MB / 445.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.2956, allocations: 331.5 kB / 445.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.2981, allocations: 2.233 MB / 447.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.2995, allocations: 1.016 MB / 448.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3012, allocations: 1.04 MB / 450 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.3036, allocations: 1.323 MB / 451.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.304, allocations: 268 kB / 451.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.3047, allocations: 363.8 kB / 451.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007932/0.3055, allocations: 0.7675 MB / 452.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.3068, allocations: 1.213 MB / 453.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.3109, allocations: 3.542 MB / 457.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.3109, allocations: 4 kB / 457.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3109, allocations: 0 / 457.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.328e-05/0.311, allocations: 0 / 457.4 MB, free: 13.88 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.00589/0.3168, allocations: 2.545 MB / 460 MB, free: 11.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3169, allocations: 8.031 kB / 460 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/0.3176, allocations: 271.4 kB / 460.3 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.3203, allocations: 1.314 MB / 461.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3205, allocations: 139.9 kB / 461.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.3208, allocations: 183.9 kB / 461.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/0.3249, allocations: 2.378 MB / 464.3 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.993e-05/0.325, allocations: 7.953 kB / 464.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.3252, allocations: 75.98 kB / 464.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.3253, allocations: 91.5 kB / 464.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.3288, allocations: 1.962 MB / 466.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.3405, allocations: 7.08 MB / 473.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3424, allocations: 1.226 MB / 474.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3439, allocations: 0.8078 MB / 475.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.3441, allocations: 118.1 kB / 475.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.3442, allocations: 43.56 kB / 475.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.486e-06/0.3442, allocations: 4 kB / 475.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01441/0.3586, allocations: 6.116 MB / 481.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.3587, allocations: 60.41 kB / 481.8 MB, free: 4.863 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.3605, allocations: 1.219 MB / 483.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.3606, allocations: 49.7 kB / 483.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/0.3613, allocations: 0.887 MB / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.3617, allocations: 388.6 kB / 484.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.3621, allocations: 222.8 kB / 484.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3622, allocations: 353.9 kB / 484.9 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3633, allocations: 0.6155 MB / 485.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.3646, allocations: 0.9227 MB / 486.5 MB, free: 60 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3672, allocations: 1.635 MB / 488.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3672, allocations: 4 kB / 488.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004045/0.3712, allocations: 2.22 MB / 490.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.3712, allocations: 12 kB / 490.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.3713, allocations: 8 kB / 490.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3724, allocations: 484.1 kB / 490.8 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3734, allocations: 271.6 kB / 491.1 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/0.3813, allocations: 7.029 MB / 498.1 MB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3825, allocations: 79.91 kB / 498.2 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.3826, allocations: 48 kB / 498.3 MB, free: 3.688 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.001206/0.3838, allocations: 0.595 MB / 498.8 MB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.3841, allocations: 143 kB / 499 MB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.3878, allocations: 2.02 MB / 0.4893 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3879, allocations: 12 kB / 0.4893 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3879, allocations: 4 kB / 0.4893 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.3879, allocations: 7.969 kB / 0.4893 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/0.3955, allocations: 4.203 MB / 0.4934 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.3955, allocations: 8 kB / 0.4934 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.3963, allocations: 179.7 kB / 0.4936 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3977, allocations: 0.5238 MB / 0.4941 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.191e-05/0.3977, allocations: 31.98 kB / 0.4941 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009024/0.4068, allocations: 8.627 MB / 0.5025 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4068, allocations: 4 kB / 0.5025 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00542/0.4122, allocations: 2.946 MB / 0.5054 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/0.4131, allocations: 352 kB / 0.5058 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.4133, allocations: 35.92 kB / 0.5058 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.4141, allocations: 67.92 kB / 0.5059 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.4143, allocations: 88.83 kB / 0.5059 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.4144, allocations: 39.92 kB / 0.506 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.4157, allocations: 0.8423 MB / 0.5068 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4157, allocations: 0 / 0.5068 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001457/0.4171, allocations: 404 kB / 0.5072 GB, free: 13.69 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.0004038/0.4175, allocations: 187.8 kB / 0.5074 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003737/0.4213, allocations: 2.107 MB / 0.5094 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4213, allocations: 0 / 0.5094 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.4237, allocations: 1.428 MB / 0.5108 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4256, allocations: 388.2 kB / 0.5112 GB, free: 9.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/0.4324, allocations: 3.998 MB / 0.5151 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.434, allocations: 1.634 MB / 0.5167 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009353/0.4349, allocations: 295.8 kB / 0.517 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002844/0.4352, allocations: 103.4 kB / 0.5171 GB, free: 3.305 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4352, allocations: 0 / 0.5171 GB, free: 3.305 MB / 430.1 MB Notification: Performance of Templates: time 0.25/0.6852, allocations: 23.38 MB / 0.5399 GB, free: 102.4 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.816152194980532]