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.001942/0.001942, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.002334/0.002334, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.457/1.457, allocations: 225.6 MB / 249.8 MB, free: 3.734 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.001453/0.001453, allocations: 55.91 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01226/0.1201, allocations: 9.515 MB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.1274, allocations: 3.478 MB / 432 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1291, allocations: 47.81 kB / 432 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.1312, allocations: 0.7574 MB / 432.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.1338, allocations: 0.8468 MB / 433.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1351, allocations: 473.9 kB / 434.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1382, allocations: 2.416 MB / 436.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.14, allocations: 1.298 MB / 437.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1417, allocations: 1.102 MB / 438.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.144, allocations: 1.428 MB / 440.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.1446, allocations: 280 kB / 440.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000939/0.1455, allocations: 407.8 kB / 441 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009312/0.1464, allocations: 0.8102 MB / 441.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.1484, allocations: 1.275 MB / 443.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00511/0.1535, allocations: 3.744 MB / 446.8 MB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1535, allocations: 0 / 446.8 MB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1535, allocations: 0 / 446.8 MB, free: 112 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.347e-05/0.1536, allocations: 0 / 446.8 MB, free: 112 kB / 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.222/0.3756, allocations: 2.722 MB / 449.5 MB, free: 29.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3756, allocations: 13.59 kB / 449.6 MB, free: 29.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006694/0.3763, allocations: 278.3 kB / 449.8 MB, free: 29.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.3784, allocations: 1.4 MB / 451.2 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.3785, allocations: 140.3 kB / 451.4 MB, free: 29.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.3787, allocations: 187.9 kB / 451.6 MB, free: 29.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/0.3828, allocations: 2.44 MB / 454 MB, free: 28.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/0.3828, allocations: 11.45 kB / 454 MB, free: 28.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.383, allocations: 79.86 kB / 454.1 MB, free: 28.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.3831, allocations: 94.8 kB / 454.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.3868, allocations: 1.985 MB / 456.2 MB, free: 27.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.3984, allocations: 7.334 MB / 463.5 MB, free: 23.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.4003, allocations: 1.293 MB / 464.8 MB, free: 23.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.4018, allocations: 0.8338 MB / 465.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.4021, allocations: 116 kB / 465.7 MB, free: 22.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.4032, allocations: 0.6852 MB / 466.4 MB, free: 22.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.186e-06/0.4032, allocations: 0 / 466.4 MB, free: 22.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.0158/0.419, allocations: 7.354 MB / 473.8 MB, free: 18.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.419, allocations: 167.3 kB / 473.9 MB, free: 18.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.4211, allocations: 1.419 MB / 475.4 MB, free: 17.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4212, allocations: 49.8 kB / 475.4 MB, free: 17.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.4219, allocations: 0.9607 MB / 476.4 MB, free: 16.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.4222, allocations: 438.6 kB / 476.8 MB, free: 16.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003775/0.4225, allocations: 243.5 kB / 477 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.4226, allocations: 363.4 kB / 477.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.4236, allocations: 0.6398 MB / 478 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.4247, allocations: 0.9982 MB / 479 MB, free: 14.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.4265, allocations: 1.711 MB / 480.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4265, allocations: 3.938 kB / 480.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003382/0.4299, allocations: 2.34 MB / 483.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4299, allocations: 8 kB / 483.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4299, allocations: 8.25 kB / 483.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.431, allocations: 499.9 kB / 483.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.432, allocations: 303.4 kB / 483.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/0.4371, allocations: 7.194 MB / 491.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.4384, allocations: 87.92 kB / 491.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4385, allocations: 55.98 kB / 491.2 MB, free: 3.234 MB / 366.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.0009764/0.4395, allocations: 0.6371 MB / 491.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.4398, allocations: 166.9 kB / 492 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.4429, allocations: 2.139 MB / 494.2 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4429, allocations: 12 kB / 494.2 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/0.4429, allocations: 4 kB / 494.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.443, allocations: 8.438 kB / 494.2 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.4509, allocations: 4.437 MB / 498.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4509, allocations: 4 kB / 498.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.4517, allocations: 189.7 kB / 498.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.4532, allocations: 0.5441 MB / 499.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4533, allocations: 35.98 kB / 499.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009392/0.4627, allocations: 8.743 MB / 0.4962 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.4627, allocations: 4.031 kB / 0.4962 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.468, allocations: 3.08 MB / 0.4992 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/0.4689, allocations: 379.9 kB / 0.4996 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.4691, allocations: 31.94 kB / 0.4996 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008231/0.4699, allocations: 75.92 kB / 0.4997 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.4702, allocations: 88.88 kB / 0.4998 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.4703, allocations: 35.98 kB / 0.4998 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001538/0.4718, allocations: 0.9869 MB / 0.5008 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4718, allocations: 4 kB / 0.5008 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4735, allocations: 451.9 kB / 0.5012 GB, free: 12.4 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.001797/0.4753, allocations: 495.3 kB / 0.5017 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.4791, allocations: 2.177 MB / 0.5038 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.4791, allocations: 8.25 kB / 0.5038 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.4815, allocations: 1.467 MB / 0.5052 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.4836, allocations: 427.7 kB / 0.5057 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.4909, allocations: 4.335 MB / 0.5099 GB, free: 3.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.4924, allocations: 1.685 MB / 0.5115 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.4929, allocations: 119.4 kB / 0.5116 GB, free: 1.66 MB / 398.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4929, allocations: 0 / 0.5116 GB, free: 1.66 MB / 398.1 MB Notification: Performance of Templates: time 0.09207/0.585, allocations: 73.68 MB / 0.5836 GB, free: 7.973 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.710203448776156]