Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 46.78 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09618, allocations: 53.35 MB / 378.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.012/0.1082, allocations: 8.443 MB / 387.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007022/0.1152, allocations: 3.444 MB / 390.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.1163, allocations: 59.62 kB / 390.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1182, allocations: 0.7146 MB / 391.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.1206, allocations: 0.8935 MB / 392.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1217, allocations: 463 kB / 392.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002938/0.1246, allocations: 2.432 MB / 395.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.1261, allocations: 1.006 MB / 396.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.1276, allocations: 1.129 MB / 397.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.1296, allocations: 1.35 MB / 398.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.13, allocations: 280 kB / 399.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.1308, allocations: 411.8 kB / 399.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008905/0.1317, allocations: 0.818 MB / 400.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.133, allocations: 1.031 MB / 401.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.1371, allocations: 3.791 MB / 405.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1371, allocations: 0 / 405.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1371, allocations: 0 / 405.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.987e-05/0.1371, allocations: 0 / 405.2 MB, free: 5.238 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.005502/0.1426, allocations: 2.675 MB / 407.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1427, allocations: 8.031 kB / 407.9 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009477/0.1436, allocations: 295.3 kB / 408.1 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/0.1462, allocations: 1.321 MB / 409.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.1464, allocations: 147.7 kB / 409.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.1467, allocations: 195.9 kB / 409.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.151, allocations: 2.54 MB / 412.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.151, allocations: 7.953 kB / 412.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.1512, allocations: 75.98 kB / 412.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.1513, allocations: 91.69 kB / 412.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.1549, allocations: 1.986 MB / 414.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.1668, allocations: 6.331 MB / 420.8 MB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.1687, allocations: 1.063 MB / 421.9 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.1703, allocations: 0.8109 MB / 422.7 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002165/0.1706, allocations: 48.95 kB / 422.7 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.1717, allocations: 0.7832 MB / 423.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=99): time 2.585e-06/0.1717, allocations: 0 / 423.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01657/0.1883, allocations: 6.833 MB / 430.4 MB, free: 11.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.1884, allocations: 171.2 kB / 430.5 MB, free: 11.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.1903, allocations: 1.282 MB / 431.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.1904, allocations: 45.7 kB / 431.9 MB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008962/0.1913, allocations: 0.9692 MB / 432.8 MB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.1917, allocations: 440.3 kB / 433.3 MB, free: 8.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/0.1921, allocations: 247.5 kB / 433.5 MB, free: 8.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1923, allocations: 365.9 kB / 433.9 MB, free: 8.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.1934, allocations: 0.6364 MB / 434.5 MB, free: 7.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.1949, allocations: 1.102 MB / 435.6 MB, free: 6.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.1976, allocations: 1.711 MB / 437.3 MB, free: 4.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1976, allocations: 4 kB / 437.3 MB, free: 4.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004198/0.2018, allocations: 2.261 MB / 439.6 MB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2018, allocations: 10.81 kB / 439.6 MB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.2018, allocations: 8 kB / 439.6 MB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2031, allocations: 0.4884 MB / 440.1 MB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2042, allocations: 295.5 kB / 440.4 MB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.212, allocations: 6.758 MB / 447.1 MB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2132, allocations: 99.8 kB / 447.2 MB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2133, allocations: 52.06 kB / 447.3 MB, free: 9.969 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.0011/0.2144, allocations: 0.6487 MB / 447.9 MB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.2147, allocations: 147.1 kB / 448.1 MB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.2186, allocations: 2.062 MB / 450.1 MB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.2186, allocations: 15.94 kB / 450.1 MB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.2186, allocations: 4 kB / 450.1 MB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.2186, allocations: 3.984 kB / 450.1 MB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007951/0.2266, allocations: 3.884 MB / 454 MB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.2266, allocations: 4 kB / 454 MB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.2274, allocations: 195.7 kB / 454.2 MB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.2289, allocations: 0.5314 MB / 454.8 MB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/0.229, allocations: 35.98 kB / 454.8 MB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009002/0.238, allocations: 8.181 MB / 463 MB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.238, allocations: 4 kB / 463 MB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/0.2432, allocations: 3.013 MB / 466 MB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/0.2442, allocations: 286.9 kB / 466.3 MB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.2444, allocations: 28 kB / 466.3 MB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008052/0.2452, allocations: 67.92 kB / 466.4 MB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.2454, allocations: 100.8 kB / 466.5 MB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-05/0.2455, allocations: 39.98 kB / 466.5 MB, free: 6.125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001404/0.2469, allocations: 0.8779 MB / 467.4 MB, free: 5.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2469, allocations: 0 / 467.4 MB, free: 5.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001649/0.2486, allocations: 451.9 kB / 467.8 MB, free: 4.801 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 (105): * Single equations (assignments): 98 * 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.001847/0.2504, allocations: 0.5089 MB / 468.3 MB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.2542, allocations: 2.035 MB / 470.4 MB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2542, allocations: 4.188 kB / 470.4 MB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.2566, allocations: 1.399 MB / 471.8 MB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.2585, allocations: 370.1 kB / 472.1 MB, free: 0.5781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1823/0.4407, allocations: 4.275 MB / 476.4 MB, free: 82.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.4421, allocations: 1.129 MB / 477.5 MB, free: 82.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009965/0.4431, allocations: 303.9 kB / 477.8 MB, free: 82.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.4434, allocations: 104.5 kB / 477.9 MB, free: 82.4 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4434, allocations: 3.625 kB / 477.9 MB, free: 82.4 MB / 430.1 MB Notification: Performance of Templates: time 0.03471/0.4781, allocations: 23.74 MB / 0.4899 GB, free: 68.98 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 8.97427195601631]