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.001389/0.001389, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001078/0.001078, allocations: 169.6 kB / 24.91 MB, free: 8.773 MB / 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 0.9532/0.9532, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.813e-06/1.813e-06, allocations: 0 / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.445e-05, allocations: 2.312 kB / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008776/0.0088, allocations: 9.288 MB / 282.8 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006637/0.01544, allocations: 3.66 MB / 286.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.01666, allocations: 63.56 kB / 286.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.0181, allocations: 0.7376 MB / 287.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.01998, allocations: 0.916 MB / 288.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008741/0.02085, allocations: 451 kB / 288.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1468/0.1677, allocations: 2.52 MB / 291.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1692, allocations: 1.042 MB / 292.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.1718, allocations: 1.781 MB / 294 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.1739, allocations: 1.235 MB / 295.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006773/0.1746, allocations: 270.6 kB / 295.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008543/0.1755, allocations: 411.4 kB / 295.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000753/0.1762, allocations: 0.8121 MB / 296.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.1777, allocations: 0.8649 MB / 297.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.1804, allocations: 2.078 MB / 299.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1804, allocations: 0.5 kB / 299.6 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1804, allocations: 0.9375 kB / 299.6 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.798e-05/0.1805, allocations: 0 / 299.6 MB, free: 15 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.003808/0.1843, allocations: 2.484 MB / 302.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1844, allocations: 9.188 kB / 302.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007318/0.1851, allocations: 358.4 kB / 302.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.1865, allocations: 0.9695 MB / 303.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-05/0.1865, allocations: 138.5 kB / 303.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.1868, allocations: 196.6 kB / 303.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1883, allocations: 1.443 MB / 305.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.1883, allocations: 13.27 kB / 305.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.1884, allocations: 73.06 kB / 305.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-05/0.1885, allocations: 95.64 kB / 305.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.1893, allocations: 0.5521 MB / 305.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004523/0.1938, allocations: 4.753 MB / 310.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.1943, allocations: 0.5743 MB / 311.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.1948, allocations: 411.7 kB / 311.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.1949, allocations: 45.92 kB / 311.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.1952, allocations: 482.7 kB / 312.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.344e-06/0.1952, allocations: 7.938 kB / 312.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004398/0.1996, allocations: 3.134 MB / 315.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1996, allocations: 167.2 kB / 315.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/0.2003, allocations: 1.01 MB / 316.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.2003, allocations: 49.7 kB / 316.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.2006, allocations: 0.7865 MB / 317.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.2007, allocations: 441.4 kB / 317.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.2009, allocations: 231 kB / 318 MB, free: 3.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.201, allocations: 365.7 kB / 318.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2011, allocations: 162.8 kB / 318.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.2014, allocations: 0.6132 MB / 319.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/0.202, allocations: 0.7904 MB / 319.9 MB, free: 1.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.202, allocations: 4 kB / 319.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001027/0.203, allocations: 0.9798 MB / 320.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.203, allocations: 8 kB / 320.9 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.203, allocations: 12 kB / 320.9 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.2035, allocations: 282.3 kB / 321.2 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.2042, allocations: 294.1 kB / 321.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.2073, allocations: 4.78 MB / 326.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.2078, allocations: 59.91 kB / 326.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.2079, allocations: 40 kB / 326.3 MB, free: 10.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0004646/0.2084, allocations: 208.6 kB / 326.5 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2085, allocations: 131.8 kB / 326.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2097, allocations: 0.8945 MB / 327.6 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2097, allocations: 16 kB / 327.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.2097, allocations: 4 kB / 327.6 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.2097, allocations: 7.969 kB / 327.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.2128, allocations: 2.377 MB / 330 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2128, allocations: 4 kB / 330 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.2132, allocations: 186 kB / 330.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/0.2139, allocations: 355 kB / 330.5 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.2139, allocations: 27.98 kB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.2172, allocations: 5.941 MB / 336.5 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2172, allocations: 11.5 kB / 336.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.2187, allocations: 1.289 MB / 337.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.2191, allocations: 197.6 kB / 338 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.2192, allocations: 35.98 kB / 338 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.2195, allocations: 39.98 kB / 338 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.2197, allocations: 104 kB / 338.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.2197, allocations: 31.98 kB / 338.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004144/0.2202, allocations: 477.9 kB / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2202, allocations: 0 / 338.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00126/0.2214, allocations: 439.9 kB / 339.1 MB, free: 14.11 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.2228, allocations: 0.5978 MB / 339.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.2241, allocations: 1.142 MB / 340.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.2241, allocations: 16.5 kB / 340.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.2251, allocations: 0.9498 MB / 341.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.226, allocations: 376.1 kB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.2305, allocations: 3.402 MB / 345.5 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.2309, allocations: 473.1 kB / 346 MB, free: 7.406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004862/0.2314, allocations: 180 kB / 346.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.2319, allocations: 369.1 kB / 346.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2319, allocations: 0 / 346.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of Templates: time 0.03356/0.2655, allocations: 24.75 MB / 371.3 MB, free: 14.58 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 -s gbode -gbm=radauIIA3 -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: 5.93393180007115]