Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 141.8 kB / 24.89 MB, free: 9.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9366/0.9366, allocations: 173.3 MB / 201.5 MB, free: 9.168 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.[0-9,]+.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.265e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01419/0.01421, allocations: 15.89 MB / 284.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.02169, allocations: 5.532 MB / 289.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.02293, allocations: 127.2 kB / 290 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.109/0.1319, allocations: 1.266 MB / 291.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.1359, allocations: 1.716 MB / 293 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.1375, allocations: 1.045 MB / 294.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004207/0.1417, allocations: 5.307 MB / 299.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.144, allocations: 2.293 MB / 301.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.1473, allocations: 3.668 MB / 305.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.1496, allocations: 2.505 MB / 307.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007073/0.1503, allocations: 0.6052 MB / 308.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.1512, allocations: 0.8154 MB / 309.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.1519, allocations: 1.467 MB / 310.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.1532, allocations: 1.792 MB / 312.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.1559, allocations: 4.222 MB / 316.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1559, allocations: 0 / 316.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1559, allocations: 4 kB / 316.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.898e-05/0.156, allocations: 0 / 316.7 MB, free: 5.391 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.004441/0.1604, allocations: 5.174 MB / 321.9 MB, free: 448 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.1604, allocations: 12.92 kB / 321.9 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.1629, allocations: 1.296 MB / 323.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.165, allocations: 1.833 MB / 325.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.1652, allocations: 311.6 kB / 325.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.1655, allocations: 400.2 kB / 325.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.1683, allocations: 2.997 MB / 328.8 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.1684, allocations: 3.953 kB / 328.8 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002302/0.1686, allocations: 167.9 kB / 328.9 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.1687, allocations: 172 kB / 329.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.1704, allocations: 1.191 MB / 330.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.1809, allocations: 10.59 MB / 340.9 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1829, allocations: 1.966 MB / 342.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007878/0.1836, allocations: 0.7115 MB / 343.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/0.1868, allocations: 2.325 MB / 345.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1868, allocations: 47.88 kB / 345.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 2.495e-06/0.1868, allocations: 0 / 345.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.00356/0.1904, allocations: 2.636 MB / 348.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.1904, allocations: 64.72 kB / 348.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.1914, allocations: 1.514 MB / 350.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.1915, allocations: 53.7 kB / 350.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/0.1921, allocations: 1.622 MB / 351.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.1924, allocations: 0.5726 MB / 352.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/0.1928, allocations: 381.1 kB / 352.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.1928, allocations: 309 kB / 353.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.1931, allocations: 238.6 kB / 353.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.1937, allocations: 0.9404 MB / 354.2 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1947, allocations: 1.409 MB / 355.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.1947, allocations: 8 kB / 355.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001331/0.1961, allocations: 1.308 MB / 356.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1961, allocations: 16 kB / 357 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.1961, allocations: 20 kB / 357 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.1963, allocations: 92 kB / 357.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/0.1972, allocations: 0.5085 MB / 357.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008186/0.198, allocations: 1.509 MB / 359.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.1986, allocations: 87.89 kB / 359.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.1987, allocations: 84.05 kB / 359.3 MB, free: 11.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (269): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005032/0.1992, allocations: 257.4 kB / 359.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.1994, allocations: 191.7 kB / 359.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2006, allocations: 1.041 MB / 360.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2006, allocations: 16 kB / 360.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2006, allocations: 11.94 kB / 360.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2006, allocations: 7.969 kB / 360.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.2034, allocations: 2.539 MB / 363.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2034, allocations: 0 / 363.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.204, allocations: 256.8 kB / 363.6 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.2044, allocations: 232.9 kB / 363.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.2044, allocations: 31.98 kB / 363.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.2071, allocations: 5.149 MB / 369 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2071, allocations: 0 / 369 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.2085, allocations: 1.396 MB / 370.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.2089, allocations: 246.4 kB / 370.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.209, allocations: 32 kB / 370.6 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.2095, allocations: 59.97 kB / 370.7 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2096, allocations: 117 kB / 370.8 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.2097, allocations: 35.98 kB / 370.8 MB, free: 284 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005455/0.2102, allocations: 0.7404 MB / 371.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2102, allocations: 7.281 kB / 371.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001152/0.2113, allocations: 0.664 MB / 372.3 MB, free: 14.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.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 (132): * Single equations (assignments): 129 * Array equations: 0 * 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 {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.2116, allocations: 170.7 kB / 372.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2126, allocations: 1.036 MB / 373.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-05/0.2126, allocations: 25.81 kB / 373.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.2134, allocations: 0.8827 MB / 374.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2145, allocations: 0.5042 MB / 374.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.2203, allocations: 5.877 MB / 380.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.221, allocations: 0.7733 MB / 381.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006857/0.2217, allocations: 323 kB / 381.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/0.2224, allocations: 0.5147 MB / 382.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2225, allocations: 0 / 382.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of Templates: time 0.03805/0.2605, allocations: 30.89 MB / 413.2 MB, free: 6.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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.8085421100258827]