Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001326/0.001326, allocations: 83.59 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.001931/0.001931, allocations: 165 kB / 24.56 MB, free: 12 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.605 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.227e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01074/0.01077, allocations: 11.72 MB / 284.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006196/0.01697, allocations: 3.924 MB / 288.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.01851, allocations: 79.5 kB / 288.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.02022, allocations: 0.8583 MB / 289.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1178/0.138, allocations: 1.07 MB / 290.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1396, allocations: 0.5373 MB / 291.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003565/0.1431, allocations: 3.577 MB / 294.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.145, allocations: 1.492 MB / 296.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.1483, allocations: 2.57 MB / 298.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.1506, allocations: 1.725 MB / 300.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009482/0.1515, allocations: 396.7 kB / 300.9 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.1528, allocations: 0.6199 MB / 301.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.1535, allocations: 1.155 MB / 302.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.1553, allocations: 1.254 MB / 304 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.1585, allocations: 2.997 MB / 307 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1585, allocations: 0 / 307 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1585, allocations: 0 / 307 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.1586, allocations: 3.406 kB / 307 MB, free: 11.62 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.005438/0.1641, allocations: 3.839 MB / 310.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.1641, allocations: 10.25 kB / 310.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.1655, allocations: 0.688 MB / 311.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.1678, allocations: 1.834 MB / 313.3 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.1679, allocations: 201.3 kB / 313.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.1681, allocations: 268.7 kB / 313.8 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.1709, allocations: 2.203 MB / 316 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-05/0.1709, allocations: 4 kB / 316 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.1711, allocations: 108 kB / 316.1 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/0.1712, allocations: 129 kB / 316.2 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1728, allocations: 0.9914 MB / 317.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008618/0.1814, allocations: 9.055 MB / 326.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.1826, allocations: 0.8889 MB / 327.2 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.1834, allocations: 0.5452 MB / 327.7 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.1835, allocations: 63.48 kB / 327.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1836, allocations: 50.7 kB / 327.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=131): time 3.317e-06/0.1836, allocations: 0 / 327.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=148): time 0.006484/0.1901, allocations: 3.723 MB / 331.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1901, allocations: 64.72 kB / 331.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.1917, allocations: 1.587 MB / 333.2 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.1918, allocations: 56.36 kB / 333.3 MB, free: 3.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.1926, allocations: 1.439 MB / 334.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.1929, allocations: 0.5384 MB / 335.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.1932, allocations: 333.1 kB / 335.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1934, allocations: 480.7 kB / 336 MB, free: 304 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.1938, allocations: 279.8 kB / 336.3 MB, free: 24 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.1948, allocations: 0.9563 MB / 337.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.1961, allocations: 1.387 MB / 338.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.1961, allocations: 4 kB / 338.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002373/0.1985, allocations: 1.627 MB / 340.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.1985, allocations: 8 kB / 340.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.1986, allocations: 19.98 kB / 340.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.1995, allocations: 314.9 kB / 340.6 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.2004, allocations: 407.2 kB / 341 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.2043, allocations: 5.107 MB / 346.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.2052, allocations: 99.86 kB / 346.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2053, allocations: 80 kB / 346.3 MB, free: 5.445 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 (199): * Single equations (assignments): 194 * 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.0006446/0.206, allocations: 267.7 kB / 346.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.2063, allocations: 258.1 kB / 346.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.2082, allocations: 1.276 MB / 348.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/0.2082, allocations: 19.94 kB / 348.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.2082, allocations: 11.92 kB / 348.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.2082, allocations: 7.984 kB / 348.1 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.2133, allocations: 3.583 MB / 351.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2133, allocations: 4 kB / 351.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.2139, allocations: 261.7 kB / 352 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008304/0.2147, allocations: 354.2 kB / 352.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.2148, allocations: 35.98 kB / 352.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004182/0.219, allocations: 6.831 MB / 359.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.219, allocations: 7.406 kB / 359.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.2216, allocations: 1.871 MB / 361 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006539/0.2223, allocations: 358.5 kB / 361.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.2225, allocations: 32 kB / 361.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.223, allocations: 83.92 kB / 361.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.2232, allocations: 124.6 kB / 361.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.2233, allocations: 40 kB / 361.7 MB, free: 5.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.2243, allocations: 0.9183 MB / 362.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2243, allocations: 3.938 kB / 362.6 MB, free: 4.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001526/0.2258, allocations: 0.5742 MB / 363.2 MB, free: 4.145 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 (125): * Single equations (assignments): 120 * 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.0004132/0.2262, allocations: 223.6 kB / 363.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.2284, allocations: 1.524 MB / 364.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2284, allocations: 384 / 364.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.2299, allocations: 1.188 MB / 366.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.2315, allocations: 451.8 kB / 366.5 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.2381, allocations: 4.8 MB / 371.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.2387, allocations: 0.7049 MB / 372 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001004/0.2397, allocations: 371.5 kB / 372.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/0.2403, allocations: 128.5 kB / 372.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/0.2403, allocations: 0 / 372.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of Templates: time 0.04143/0.2818, allocations: 30 MB / 402.5 MB, free: 13.14 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.887510464992374]