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.001462/0.001462, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002136/0.002136, allocations: 194.8 kB / 23.71 MB, free: 4.406 MB / 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.48/1.48, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001615/0.001615, allocations: 48.02 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2749, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01052/0.2855, allocations: 7.848 MB / 430.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006252/0.2917, allocations: 2.664 MB / 433.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.293, allocations: 51.69 kB / 433.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.2951, allocations: 0.5939 MB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.2979, allocations: 0.7535 MB / 435 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.299, allocations: 331.4 kB / 435.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.3026, allocations: 2.218 MB / 437.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.3045, allocations: 0.9888 MB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.3064, allocations: 1.036 MB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.3088, allocations: 1.241 MB / 440.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007262/0.3095, allocations: 268 kB / 441.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3106, allocations: 355.8 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008401/0.3114, allocations: 0.7674 MB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.3126, allocations: 0.9763 MB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.3164, allocations: 3.562 MB / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3164, allocations: 0 / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3164, allocations: 0 / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.3164, allocations: 0 / 446.7 MB, free: 6.695 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.004966/0.3214, allocations: 2.462 MB / 449.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3215, allocations: 8.031 kB / 449.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006431/0.3221, allocations: 263.4 kB / 449.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.3247, allocations: 1.246 MB / 450.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.3248, allocations: 131.9 kB / 450.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.3251, allocations: 188 kB / 451 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004298/0.3294, allocations: 2.475 MB / 453.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/0.3295, allocations: 7.953 kB / 453.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.3296, allocations: 75.94 kB / 453.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.3297, allocations: 91.5 kB / 453.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.3336, allocations: 1.958 MB / 455.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.345, allocations: 6.114 MB / 461.7 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.347, allocations: 0.9946 MB / 462.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3486, allocations: 0.8068 MB / 463.5 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.3488, allocations: 40.97 kB / 463.6 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3488, allocations: 43.56 kB / 463.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/0.3488, allocations: 0 / 463.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01425/0.3631, allocations: 5.652 MB / 469.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3631, allocations: 60.41 kB / 469.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3648, allocations: 1.083 MB / 470.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.3649, allocations: 41.7 kB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000688/0.3656, allocations: 0.8941 MB / 471.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.3659, allocations: 388.7 kB / 471.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.3663, allocations: 222.9 kB / 471.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.3665, allocations: 361.9 kB / 472.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3676, allocations: 0.6116 MB / 472.9 MB, free: 12.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3689, allocations: 0.9188 MB / 473.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3714, allocations: 1.639 MB / 475.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3714, allocations: 0 / 475.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004065/0.3755, allocations: 2.137 MB / 477.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.3755, allocations: 8 kB / 477.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.3755, allocations: 12 kB / 477.6 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.3767, allocations: 479.6 kB / 478.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/0.3777, allocations: 267.6 kB / 478.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007268/0.3849, allocations: 6.589 MB / 484.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3861, allocations: 83.88 kB / 485 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3862, allocations: 59.98 kB / 485.1 MB, free: 15.31 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.001155/0.3873, allocations: 0.5911 MB / 485.7 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.3876, allocations: 123.2 kB / 485.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003609/0.3912, allocations: 1.943 MB / 487.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3912, allocations: 11.94 kB / 487.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3912, allocations: 4 kB / 487.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3912, allocations: 3.984 kB / 487.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006996/0.3982, allocations: 3.669 MB / 491.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.3982, allocations: 4 kB / 491.4 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.399, allocations: 180.2 kB / 491.6 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.4004, allocations: 0.5253 MB / 492.1 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.4005, allocations: 35.97 kB / 492.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008507/0.409, allocations: 8.064 MB / 0.4885 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.409, allocations: 7.938 kB / 0.4885 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/0.4138, allocations: 2.847 MB / 0.4913 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.4146, allocations: 267 kB / 0.4915 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.4148, allocations: 31.94 kB / 0.4916 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007497/0.4156, allocations: 75.92 kB / 0.4916 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.4158, allocations: 96.7 kB / 0.4917 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.4159, allocations: 39.92 kB / 0.4918 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.417, allocations: 0.7254 MB / 0.4925 GB, free: 11.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.417, allocations: 0 / 0.4925 GB, free: 11.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4184, allocations: 403.9 kB / 0.4929 GB, free: 11.05 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.0003487/0.4187, allocations: 187 kB / 0.493 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.4224, allocations: 1.952 MB / 0.4949 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.4224, allocations: 4 kB / 0.4949 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.4247, allocations: 1.349 MB / 0.4963 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.4262, allocations: 319.7 kB / 0.4966 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.4327, allocations: 3.958 MB / 0.5004 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.4339, allocations: 1.058 MB / 0.5015 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008387/0.4348, allocations: 282.7 kB / 0.5017 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.435, allocations: 91.42 kB / 0.5018 GB, free: 1.629 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.435, allocations: 3.938 kB / 0.5018 GB, free: 1.625 MB / 414.1 MB Notification: Performance of Templates: time 0.04202/0.4771, allocations: 23.38 MB / 0.5247 GB, free: 10.58 MB / 446.1 MB " [Timeout remaining time 660] 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.75700113736093]