Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.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.0017/0.0017, allocations: 119.5 kB / 18.41 MB, free: 4.555 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.002042/0.002042, allocations: 188.3 kB / 21.35 MB, free: 1.621 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.438/1.438, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.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_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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 47.92 kB / 358.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1049, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01259/0.1175, allocations: 9.469 MB / 417.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007631/0.1252, allocations: 3.455 MB / 421 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.127, allocations: 47.81 kB / 421.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1296, allocations: 0.7223 MB / 421.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.1329, allocations: 0.8077 MB / 422.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.1345, allocations: 475 kB / 423.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.1381, allocations: 2.424 MB / 425.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.1407, allocations: 1.763 MB / 427.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.143, allocations: 1.09 MB / 428.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.1455, allocations: 1.386 MB / 429.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006087/0.1461, allocations: 280 kB / 430 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1473, allocations: 411.8 kB / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2164/0.3637, allocations: 0.7921 MB / 431.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.3656, allocations: 1.278 MB / 432.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.371, allocations: 3.742 MB / 436.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.3711, allocations: 3.422 kB / 436.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.17e-06/0.3711, allocations: 0 / 436.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.3713, allocations: 0.75 kB / 436.2 MB, free: 8.355 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.007925/0.3792, allocations: 2.726 MB / 439 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3793, allocations: 9.062 kB / 439 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.3802, allocations: 283.3 kB / 439.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.383, allocations: 1.392 MB / 440.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3832, allocations: 147.9 kB / 440.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.3835, allocations: 190.8 kB / 441 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004922/0.3884, allocations: 2.437 MB / 443.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/0.3885, allocations: 7.531 kB / 443.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.3887, allocations: 79.91 kB / 443.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.3889, allocations: 97.7 kB / 443.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.3926, allocations: 1.985 MB / 445.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.404, allocations: 7.335 MB / 452.9 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.4057, allocations: 1.36 MB / 454.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4071, allocations: 0.8716 MB / 455.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002078/0.4074, allocations: 129.2 kB / 455.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009873/0.4084, allocations: 0.685 MB / 455.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=99): time 2.665e-06/0.4084, allocations: 0 / 455.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01534/0.4237, allocations: 7.366 MB / 463.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.4239, allocations: 171.6 kB / 463.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.426, allocations: 1.42 MB / 464.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.4261, allocations: 47.89 kB / 465 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009093/0.427, allocations: 0.9479 MB / 465.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.4274, allocations: 444.7 kB / 466.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.4278, allocations: 241.9 kB / 466.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.428, allocations: 364.4 kB / 466.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/0.429, allocations: 0.6376 MB / 467.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.4302, allocations: 0.9984 MB / 468.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.4325, allocations: 1.709 MB / 470.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4325, allocations: 3.031 kB / 470.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004225/0.4367, allocations: 2.36 MB / 472.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.4368, allocations: 11.94 kB / 472.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.4368, allocations: 8 kB / 472.7 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.438, allocations: 495.5 kB / 473.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4392, allocations: 291.6 kB / 473.4 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.4466, allocations: 7.19 MB / 480.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4481, allocations: 95.86 kB / 480.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.4483, allocations: 60.05 kB / 480.8 MB, free: 14.87 MB / 382.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.001252/0.4495, allocations: 0.6432 MB / 481.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.4499, allocations: 155 kB / 481.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.4537, allocations: 2.15 MB / 483.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4537, allocations: 12 kB / 483.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.4538, allocations: 4 kB / 483.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4538, allocations: 7.969 kB / 483.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/0.4616, allocations: 4.446 MB / 488.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4616, allocations: 7.562 kB / 488.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008256/0.4624, allocations: 199.6 kB / 488.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4639, allocations: 0.5406 MB / 488.9 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.464, allocations: 39.97 kB / 489 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008672/0.4727, allocations: 8.737 MB / 497.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4727, allocations: 7.562 kB / 497.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.4778, allocations: 3.086 MB / 0.4891 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008958/0.4788, allocations: 375.9 kB / 0.4894 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.479, allocations: 31.98 kB / 0.4894 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/0.4798, allocations: 71.92 kB / 0.4895 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.4801, allocations: 100.1 kB / 0.4896 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.4802, allocations: 35.98 kB / 0.4896 GB, free: 9.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.4816, allocations: 0.9753 MB / 0.4906 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4816, allocations: 0 / 0.4906 GB, free: 8.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001664/0.4833, allocations: 451.9 kB / 0.491 GB, free: 8.172 MB / 398.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.001733/0.4851, allocations: 0.501 MB / 0.4915 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003684/0.4888, allocations: 2.267 MB / 0.4937 GB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.4888, allocations: 4 kB / 0.4937 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.4911, allocations: 1.516 MB / 0.4952 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.4932, allocations: 414.1 kB / 0.4956 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.5, allocations: 4.337 MB / 0.4998 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.5014, allocations: 1.686 MB / 0.5015 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.5019, allocations: 115.4 kB / 0.5016 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 9.91e-07/0.5019, allocations: 0 / 0.5016 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.08327/0.5852, allocations: 73.53 MB / 0.5734 GB, free: 3.891 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 16.62232954998035]