Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 81.81 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 162.2 kB / 24.82 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.112/1.112, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.602e-05, allocations: 5.266 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007977/0.008003, allocations: 9.162 MB / 282.5 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.0129, allocations: 2.987 MB / 285.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.0139, allocations: 63.62 kB / 285.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.01519, allocations: 0.6286 MB / 286.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.01693, allocations: 0.8499 MB / 287 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.01764, allocations: 371.3 kB / 287.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.02055, allocations: 2.773 MB / 290.2 MB, free: 316 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1324/0.1529, allocations: 1.121 MB / 291.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003196/0.1561, allocations: 1.953 MB / 293.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.1585, allocations: 1.38 MB / 294.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008434/0.1594, allocations: 301.6 kB / 294.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008873/0.1603, allocations: 397.2 kB / 295.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.1611, allocations: 0.8958 MB / 296.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.1632, allocations: 0.967 MB / 297.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.166, allocations: 2.275 MB / 299.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.166, allocations: 2.719 kB / 299.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.166, allocations: 0 / 299.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.07e-05/0.1661, allocations: 0 / 299.4 MB, free: 15.55 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004186/0.1703, allocations: 2.918 MB / 302.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1703, allocations: 9.625 kB / 302.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.1712, allocations: 494.8 kB / 302.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.173, allocations: 1.354 MB / 304.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1731, allocations: 154.4 kB / 304.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.1734, allocations: 207.2 kB / 304.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.1753, allocations: 1.551 MB / 306.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/0.1753, allocations: 14.38 kB / 306.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.1755, allocations: 83.91 kB / 306.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.924e-05/0.1755, allocations: 90.8 kB / 306.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1765, allocations: 0.5935 MB / 306.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006646/0.1832, allocations: 6.794 MB / 313.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.1838, allocations: 0.6437 MB / 314.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.1844, allocations: 0.5179 MB / 314.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.1845, allocations: 48.92 kB / 314.9 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1845, allocations: 50.33 kB / 314.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.716e-06/0.1845, allocations: 0 / 314.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.003944/0.1885, allocations: 2.478 MB / 317.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.1885, allocations: 64.41 kB / 317.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.1893, allocations: 1.198 MB / 318.7 MB, free: 2.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.1894, allocations: 45.7 kB / 318.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.1898, allocations: 1.122 MB / 319.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.19, allocations: 445.7 kB / 320.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.1903, allocations: 267.1 kB / 320.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.1903, allocations: 0.5465 MB / 321.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1905, allocations: 167.9 kB / 321.3 MB, free: 340 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.191, allocations: 0.6343 MB / 321.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008196/0.1918, allocations: 0.9163 MB / 322.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.1918, allocations: 4 kB / 322.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001443/0.1932, allocations: 1.14 MB / 324 MB, free: 13.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1933, allocations: 8 kB / 324 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1933, allocations: 8 kB / 324 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000482/0.1937, allocations: 221.7 kB / 324.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.1944, allocations: 293 kB / 324.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.1971, allocations: 4.292 MB / 328.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.1977, allocations: 48.02 kB / 328.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.1978, allocations: 44 kB / 328.9 MB, free: 8.371 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: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005618/0.1984, allocations: 240.6 kB / 329.1 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.1986, allocations: 203 kB / 329.3 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1998, allocations: 0.9648 MB / 330.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.1998, allocations: 12 kB / 330.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1998, allocations: 4 kB / 330.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1998, allocations: 3.984 kB / 330.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.2033, allocations: 2.434 MB / 332.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2034, allocations: 4 kB / 332.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.2038, allocations: 190.2 kB / 332.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005514/0.2044, allocations: 270.2 kB / 333.2 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.2044, allocations: 39.91 kB / 333.2 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/0.2078, allocations: 6.017 MB / 339.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2078, allocations: 7.562 kB / 339.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.2096, allocations: 1.399 MB / 340.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.21, allocations: 258.8 kB / 340.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.2101, allocations: 24 kB / 340.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.2105, allocations: 47.44 kB / 340.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.2106, allocations: 100.8 kB / 341 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.2107, allocations: 27.98 kB / 341.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006103/0.2113, allocations: 0.657 MB / 341.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2113, allocations: 0 / 341.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001289/0.2126, allocations: 455.9 kB / 342.2 MB, free: 10.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0002898/0.2129, allocations: 195.7 kB / 342.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.2142, allocations: 1.164 MB / 343.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2142, allocations: 4 kB / 343.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.2151, allocations: 0.9887 MB / 344.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2161, allocations: 406.7 kB / 344.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.2215, allocations: 3.749 MB / 348.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.222, allocations: 0.5672 MB / 349.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006677/0.2227, allocations: 192.7 kB / 349.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.2234, allocations: 453.9 kB / 349.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2234, allocations: 0 / 349.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of Templates: time 0.03457/0.258, allocations: 25.55 MB / 375.4 MB, free: 10.06 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.502530082128942]