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_Conveyor.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.009743/0.009743, allocations: 107.4 kB / 21.98 MB, free: 5.223 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.002505/0.002505, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.48/1.48, allocations: 230.6 MB / 259 MB, free: 8 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_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [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.001897/0.001897, allocations: 60.78 kB / 379.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3195, allocations: 53.37 MB / 433.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01266/0.3322, allocations: 9.607 MB / 442.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007695/0.3399, allocations: 3.679 MB / 446.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.3413, allocations: 63.56 kB / 446.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.3433, allocations: 0.7766 MB / 447.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.3459, allocations: 0.8818 MB / 448.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3471, allocations: 467 kB / 448.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.3506, allocations: 2.435 MB / 451.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.3522, allocations: 1.049 MB / 452.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.354, allocations: 1.125 MB / 453.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.3562, allocations: 1.444 MB / 454.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000502/0.3567, allocations: 280 kB / 455 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000955/0.3577, allocations: 419.8 kB / 455.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009141/0.3586, allocations: 0.8219 MB / 456.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.3602, allocations: 1.283 MB / 457.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.3649, allocations: 3.764 MB / 461.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3649, allocations: 0 / 461.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3649, allocations: 0 / 461.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.493e-05/0.365, allocations: 0 / 461.3 MB, free: 10.7 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.006071/0.371, allocations: 2.675 MB / 463.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3711, allocations: 8.031 kB / 463.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.372, allocations: 291.3 kB / 464.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.3745, allocations: 1.329 MB / 465.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.3746, allocations: 143.7 kB / 465.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/0.3749, allocations: 187.9 kB / 465.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/0.3792, allocations: 2.432 MB / 468.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.3792, allocations: 23.88 kB / 468.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.3794, allocations: 72 kB / 468.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.3795, allocations: 91.69 kB / 468.5 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.383, allocations: 1.986 MB / 470.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.3956, allocations: 7.21 MB / 477.7 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3975, allocations: 1.05 MB / 478.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.399, allocations: 0.8233 MB / 479.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/0.3992, allocations: 40.97 kB / 479.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.4003, allocations: 0.6789 MB / 480.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.355e-06/0.4003, allocations: 0 / 480.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01588/0.4162, allocations: 6.848 MB / 487.1 MB, free: 432 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.4163, allocations: 167.2 kB / 487.3 MB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.4186, allocations: 1.431 MB / 488.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4187, allocations: 45.7 kB / 488.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009328/0.4197, allocations: 0.9585 MB / 489.7 MB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/0.4201, allocations: 444.2 kB / 490.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.4205, allocations: 255.4 kB / 490.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4207, allocations: 361.9 kB / 490.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4218, allocations: 0.6403 MB / 491.4 MB, free: 12.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4231, allocations: 0.9936 MB / 492.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.4256, allocations: 1.707 MB / 494.1 MB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4256, allocations: 8 kB / 494.1 MB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004127/0.4298, allocations: 2.265 MB / 496.4 MB, free: 6.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4298, allocations: 8 kB / 496.4 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.4298, allocations: 12 kB / 496.4 MB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.431, allocations: 488.2 kB / 496.9 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4321, allocations: 303.5 kB / 497.2 MB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.4397, allocations: 6.88 MB / 0.4922 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4411, allocations: 99.92 kB / 0.4923 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.4412, allocations: 56 kB / 0.4924 GB, free: 14.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.4425, allocations: 0.6262 MB / 0.493 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/0.4428, allocations: 170.9 kB / 0.4932 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.4467, allocations: 2.076 MB / 0.4952 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4467, allocations: 12 kB / 0.4952 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.4467, allocations: 4 kB / 0.4952 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.4467, allocations: 3.984 kB / 0.4952 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/0.455, allocations: 4.331 MB / 0.4994 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.455, allocations: 384 / 0.4994 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.4558, allocations: 199.7 kB / 0.4996 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.4572, allocations: 0.531 MB / 0.5001 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/0.4573, allocations: 35.98 kB / 0.5002 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/0.4662, allocations: 8.317 MB / 0.5083 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4662, allocations: 7.938 kB / 0.5083 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/0.4715, allocations: 3.009 MB / 0.5112 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.4724, allocations: 302.8 kB / 0.5115 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.4727, allocations: 28 kB / 0.5116 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.4735, allocations: 83.8 kB / 0.5116 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.4738, allocations: 100.8 kB / 0.5117 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.4739, allocations: 39.98 kB / 0.5118 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00153/0.4754, allocations: 0.9874 MB / 0.5127 GB, free: 9.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4754, allocations: 0 / 0.5127 GB, free: 9.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001645/0.477, allocations: 451.9 kB / 0.5132 GB, free: 8.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3,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.001828/0.4789, allocations: 0.4913 MB / 0.5137 GB, free: 8.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.4827, allocations: 2.033 MB / 0.5156 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.4827, allocations: 0 / 0.5156 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.4851, allocations: 1.397 MB / 0.517 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.4872, allocations: 441.1 kB / 0.5174 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.4953, allocations: 4.368 MB / 0.5217 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.4968, allocations: 1.694 MB / 0.5233 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.4974, allocations: 111.4 kB / 0.5234 GB, free: 14.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4974, allocations: 0 / 0.5234 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Templates: time 0.3659/0.8633, allocations: 74.01 MB / 0.5957 GB, free: 49.78 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.710777665954083]