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.0007998/0.0007998, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001424/0.001424, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.06e-05, allocations: 2.312 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.00909/0.009121, allocations: 9.477 MB / 282.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.01512, allocations: 3.564 MB / 286 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008103/0.01593, allocations: 63.56 kB / 286.1 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.01729, allocations: 0.7221 MB / 286.8 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.01887, allocations: 0.9199 MB / 287.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.01966, allocations: 462.8 kB / 288.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1471/0.1668, allocations: 2.509 MB / 290.7 MB, free: 16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.1688, allocations: 1.02 MB / 291.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.171, allocations: 1.642 MB / 293.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.1727, allocations: 1.302 MB / 294.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.1731, allocations: 279.6 kB / 294.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.1738, allocations: 421.1 kB / 295.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000715/0.1745, allocations: 0.8501 MB / 296.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.1756, allocations: 0.8854 MB / 297.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.1779, allocations: 2.121 MB / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1779, allocations: 0 / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1779, allocations: 0 / 299.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.731e-05/0.1779, allocations: 0 / 299.2 MB, free: 15.45 MB / 266.7 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.003427/0.1814, allocations: 2.831 MB / 302 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1814, allocations: 9.781 kB / 302 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.1821, allocations: 440.5 kB / 302.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.1837, allocations: 1.302 MB / 303.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1838, allocations: 141.8 kB / 303.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.1841, allocations: 195.4 kB / 304.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.186, allocations: 1.541 MB / 305.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.186, allocations: 7.172 kB / 305.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1861, allocations: 78.38 kB / 305.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/0.1862, allocations: 101.1 kB / 305.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1874, allocations: 0.702 MB / 306.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.1928, allocations: 6.101 MB / 312.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.1935, allocations: 0.5999 MB / 313.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.1941, allocations: 480.1 kB / 313.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.1943, allocations: 48.97 kB / 313.8 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005864/0.1949, allocations: 0.5329 MB / 314.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.445e-06/0.1949, allocations: 4 kB / 314.3 MB, free: 6.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005408/0.2003, allocations: 3.887 MB / 318.2 MB, free: 2.672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2004, allocations: 167.2 kB / 318.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/0.2012, allocations: 1.13 MB / 319.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.2013, allocations: 49.7 kB / 319.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.2017, allocations: 1.039 MB / 320.6 MB, free: 232 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.202, allocations: 446.8 kB / 321 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.2022, allocations: 245.2 kB / 321.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.2024, allocations: 0.5431 MB / 321.8 MB, free: 15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.2028, allocations: 223.9 kB / 322 MB, free: 14.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.2034, allocations: 0.8049 MB / 322.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2044, allocations: 0.9903 MB / 323.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2045, allocations: 4 kB / 323.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001839/0.2063, allocations: 1.32 MB / 325.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.2063, allocations: 8 kB / 325.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2063, allocations: 20.17 kB / 325.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006791/0.207, allocations: 292.2 kB / 325.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.2076, allocations: 293.5 kB / 325.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.2119, allocations: 6.687 MB / 332.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.2124, allocations: 99.83 kB / 332.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.2125, allocations: 52 kB / 332.6 MB, free: 3.598 MB / 282.7 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.0004415/0.213, allocations: 242 kB / 332.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2132, allocations: 187.1 kB / 333 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.2148, allocations: 1.18 MB / 334.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.2148, allocations: 12 kB / 334.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2148, allocations: 7.938 kB / 334.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2148, allocations: 3.984 kB / 334.2 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.2186, allocations: 2.977 MB / 337.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2186, allocations: 4 kB / 337.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.219, allocations: 198.5 kB / 337.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.2201, allocations: 356.8 kB / 337.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.2202, allocations: 31.98 kB / 337.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004707/0.2249, allocations: 8.465 MB / 346.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2249, allocations: 8 kB / 346.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.2271, allocations: 1.681 MB / 347.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/0.2275, allocations: 270.9 kB / 348.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.2277, allocations: 31.98 kB / 348.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.228, allocations: 67.94 kB / 348.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.2283, allocations: 100.5 kB / 348.3 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.2283, allocations: 39.98 kB / 348.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007552/0.2291, allocations: 0.6787 MB / 349.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2291, allocations: 3.938 kB / 349.1 MB, free: 2.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001318/0.2304, allocations: 451.9 kB / 349.5 MB, free: 2.094 MB / 298.7 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.001096/0.2315, allocations: 482.9 kB / 350 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/0.2334, allocations: 1.522 MB / 351.5 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2334, allocations: 0 / 351.5 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.2349, allocations: 1.31 MB / 352.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2359, allocations: 369.9 kB / 353.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004752/0.2407, allocations: 3.611 MB / 356.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.2411, allocations: 0.5166 MB / 357.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005214/0.2416, allocations: 259.8 kB / 357.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.2419, allocations: 108.5 kB / 357.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2419, allocations: 0 / 357.7 MB, free: 9.949 MB / 314.7 MB Notification: Performance of Templates: time 0.03046/0.2723, allocations: 23.79 MB / 381.5 MB, free: 2.551 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 6.607774182688445]