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.001148/0.001148, allocations: 81.81 kB / 21.42 MB, free: 3.062 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.00176/0.00176, allocations: 163.5 kB / 24.82 MB, free: 9.297 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.013/1.013, allocations: 177 MB / 205.1 MB, free: 5.461 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 1.292e-06/1.292e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.483e-05, allocations: 5.266 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.009945/0.00996, allocations: 11.41 MB / 284.8 MB, free: 5.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00641/0.01637, allocations: 3.905 MB / 288.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01743, allocations: 83.44 kB / 288.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.01905, allocations: 0.8544 MB / 289.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1167/0.1358, allocations: 1.074 MB / 290.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.1373, allocations: 0.5384 MB / 291.2 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.1413, allocations: 3.588 MB / 294.8 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.1434, allocations: 1.494 MB / 296.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003961/0.1474, allocations: 2.576 MB / 298.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.1498, allocations: 1.739 MB / 300.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008354/0.1507, allocations: 396.1 kB / 301 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1518, allocations: 0.6057 MB / 301.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000662/0.1525, allocations: 1.163 MB / 302.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.1539, allocations: 1.253 MB / 304 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.1563, allocations: 3.001 MB / 307 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1563, allocations: 0 / 307 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1563, allocations: 3.656 kB / 307 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.974e-05/0.1564, allocations: 0 / 307 MB, free: 11.74 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.00358/0.1599, allocations: 3.762 MB / 310.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.16, allocations: 10.73 kB / 310.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.161, allocations: 0.6879 MB / 311.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1624, allocations: 1.735 MB / 313.2 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.1625, allocations: 201.8 kB / 313.4 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.1627, allocations: 271.7 kB / 313.7 MB, free: 6.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.1645, allocations: 2.03 MB / 315.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.1645, allocations: 3.953 kB / 315.7 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.1647, allocations: 115 kB / 315.8 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.1647, allocations: 125.2 kB / 315.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.1657, allocations: 0.7854 MB / 316.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007375/0.173, allocations: 8.937 MB / 325.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/0.174, allocations: 0.8005 MB / 326.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.1746, allocations: 493.7 kB / 327 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.1747, allocations: 65.84 kB / 327 MB, free: 9.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1747, allocations: 46.7 kB / 327.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=130): time 2.595e-06/0.1747, allocations: 4 kB / 327.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.004478/0.1792, allocations: 2.893 MB / 330 MB, free: 6.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1792, allocations: 64.72 kB / 330 MB, free: 6.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.1805, allocations: 1.542 MB / 331.6 MB, free: 5.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.1806, allocations: 53.7 kB / 331.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000765/0.1813, allocations: 1.46 MB / 333.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.1817, allocations: 0.5433 MB / 333.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003543/0.182, allocations: 341.2 kB / 334 MB, free: 3.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1821, allocations: 480.7 kB / 334.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1824, allocations: 207.8 kB / 334.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.183, allocations: 0.9018 MB / 335.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1841, allocations: 1.267 MB / 336.8 MB, free: 20 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.1841, allocations: 7.938 kB / 336.8 MB, free: 12 kB / 282.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.001718/0.1859, allocations: 1.47 MB / 338.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1859, allocations: 12 kB / 338.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1859, allocations: 12 kB / 338.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.1866, allocations: 319.3 kB / 338.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.1873, allocations: 375.5 kB / 339 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.1904, allocations: 4.935 MB / 343.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.191, allocations: 67.94 kB / 344 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.1911, allocations: 59.98 kB / 344 MB, free: 8.75 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.0004605/0.1916, allocations: 278.1 kB / 344.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.1919, allocations: 254.6 kB / 344.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.1933, allocations: 1.151 MB / 345.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.1933, allocations: 16 kB / 345.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1933, allocations: 4 kB / 345.7 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.1933, allocations: 7.969 kB / 345.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/0.1973, allocations: 3.444 MB / 349.2 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.1973, allocations: 4 kB / 349.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.1978, allocations: 234.7 kB / 349.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.1985, allocations: 345.1 kB / 349.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.1986, allocations: 43.53 kB / 349.8 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.2019, allocations: 6.66 MB / 356.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2019, allocations: 11.66 kB / 356.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2038, allocations: 1.696 MB / 358.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.2042, allocations: 326.5 kB / 358.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.2043, allocations: 35.98 kB / 358.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.2048, allocations: 63.56 kB / 358.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.2049, allocations: 116.7 kB / 358.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.205, allocations: 35.98 kB / 358.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000633/0.2056, allocations: 0.8423 MB / 359.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2056, allocations: 0 / 359.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001164/0.2068, allocations: 0.5663 MB / 360.1 MB, free: 8.77 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.0003038/0.2071, allocations: 223.9 kB / 360.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2085, allocations: 1.398 MB / 361.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2085, allocations: 0.9375 kB / 361.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.2094, allocations: 1.12 MB / 362.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.2105, allocations: 445.1 kB / 363.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.2156, allocations: 4.749 MB / 368.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.2162, allocations: 0.7128 MB / 368.8 MB, free: 112 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.2167, allocations: 250.4 kB / 369 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/0.2175, allocations: 0.4979 MB / 369.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2175, allocations: 3.938 kB / 369.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of Templates: time 0.03552/0.253, allocations: 30.5 MB / 400 MB, free: 1.336 MB / 346.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.7070693359710276]