Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_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.001179/0.001179, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001345/0.001345, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.9454/0.9454, allocations: 177 MB / 204.8 MB, free: 5.594 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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.[0-9,]+.|smee.idq_dr.[0-9,]+.|smee.idq_rr.[0-9,]+.|smee.idq_sr.[0-9,]+.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.85e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01283/0.01287, allocations: 11.73 MB / 284.7 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.01885, allocations: 3.936 MB / 288.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.02008, allocations: 79.5 kB / 288.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.0217, allocations: 0.8504 MB / 289.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.11/0.1317, allocations: 1.074 MB / 290.6 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1331, allocations: 0.5391 MB / 291.1 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.1372, allocations: 3.59 MB / 294.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.1392, allocations: 1.493 MB / 296.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.1428, allocations: 2.572 MB / 298.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.1451, allocations: 1.729 MB / 300.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.1462, allocations: 396.2 kB / 300.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1474, allocations: 0.6126 MB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008153/0.1482, allocations: 1.162 MB / 302.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001771/0.15, allocations: 1.254 MB / 303.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.1533, allocations: 2.998 MB / 306.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1533, allocations: 0 / 306.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1533, allocations: 3.812 kB / 306.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.1534, allocations: 0 / 306.9 MB, free: 11.58 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.004579/0.158, allocations: 3.848 MB / 310.8 MB, free: 8.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1581, allocations: 11.17 kB / 310.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.1592, allocations: 0.686 MB / 311.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.161, allocations: 1.836 MB / 313.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/0.1611, allocations: 197.8 kB / 313.5 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.1613, allocations: 278.2 kB / 313.8 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.1639, allocations: 2.199 MB / 316 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.164, allocations: 11.52 kB / 316 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.1642, allocations: 107 kB / 316.1 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.1643, allocations: 125.2 kB / 316.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.166, allocations: 0.9928 MB / 317.2 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008821/0.1748, allocations: 9.044 MB / 326.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.176, allocations: 0.8825 MB / 327.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.1768, allocations: 0.5482 MB / 327.7 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.177, allocations: 53.28 kB / 327.7 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.177, allocations: 58.45 kB / 327.8 MB, free: 8.387 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 4.068e-06/0.177, allocations: 4 kB / 327.8 MB, free: 8.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.005545/0.1826, allocations: 3.615 MB / 331.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1826, allocations: 68.72 kB / 331.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.1841, allocations: 1.587 MB / 333.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.1842, allocations: 49.7 kB / 333.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.1849, allocations: 1.446 MB / 334.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.1852, allocations: 0.5294 MB / 335.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.1855, allocations: 340.2 kB / 335.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.1856, allocations: 482.3 kB / 335.9 MB, free: 256 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.186, allocations: 279.8 kB / 336.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.1868, allocations: 0.9549 MB / 337.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.1881, allocations: 1.378 MB / 338.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.1881, allocations: 4 kB / 338.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002097/0.1902, allocations: 1.622 MB / 340.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1902, allocations: 12 kB / 340.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.1902, allocations: 16 kB / 340.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.1909, allocations: 323.2 kB / 340.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.1917, allocations: 404.3 kB / 340.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.1951, allocations: 5.095 MB / 346 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/0.196, allocations: 107.9 kB / 346.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.1961, allocations: 75.98 kB / 346.1 MB, free: 5.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 193 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006295/0.1968, allocations: 267.5 kB / 346.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.1971, allocations: 254.6 kB / 346.7 MB, free: 4.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.1988, allocations: 1.272 MB / 347.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.1989, allocations: 16 kB / 347.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.1989, allocations: 7.938 kB / 348 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1989, allocations: 7.969 kB / 348 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004599/0.2035, allocations: 3.571 MB / 351.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2035, allocations: 11.94 kB / 351.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.2041, allocations: 262 kB / 351.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008474/0.205, allocations: 361.7 kB / 352.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.205, allocations: 35.98 kB / 352.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.209, allocations: 6.825 MB / 359 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.209, allocations: 11.94 kB / 359 MB, free: 8.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.2115, allocations: 1.863 MB / 360.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/0.2121, allocations: 358.5 kB / 361.2 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.2122, allocations: 35.98 kB / 361.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.2127, allocations: 82.5 kB / 361.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.213, allocations: 120.3 kB / 361.5 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.213, allocations: 47.98 kB / 361.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009997/0.214, allocations: 0.9223 MB / 362.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.214, allocations: 0 / 362.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001524/0.2155, allocations: 0.5703 MB / 363 MB, free: 4.133 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.000384/0.2159, allocations: 231.1 kB / 363.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.2179, allocations: 1.519 MB / 364.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2179, allocations: 0 / 364.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.219, allocations: 1.183 MB / 365.9 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2202, allocations: 437.3 kB / 366.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.2261, allocations: 4.804 MB / 371.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.2267, allocations: 0.7128 MB / 371.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008057/0.2275, allocations: 368.5 kB / 372.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.2278, allocations: 128.5 kB / 372.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.2278, allocations: 0 / 372.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of Templates: time 0.05787/0.2856, allocations: 29.95 MB / 402.3 MB, free: 13.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_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.8089491450227797]