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.0009354/0.0009354, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009151/0.0009151, allocations: 143.4 kB / 24.89 MB, free: 8.727 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.9421/0.9421, allocations: 173.4 MB / 201.5 MB, free: 8.77 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.052e-06/1.052e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.213e-05, allocations: 14.05 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01156/0.01158, allocations: 15.94 MB / 284.5 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00846/0.02004, allocations: 5.532 MB / 290 MB, free: 404 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.02197, allocations: 127.2 kB / 290.1 MB, free: 276 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1094/0.1313, allocations: 1.281 MB / 291.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.1361, allocations: 1.706 MB / 293.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.1382, allocations: 1.03 MB / 294.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005824/0.144, allocations: 5.314 MB / 299.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.1468, allocations: 2.3 MB / 301.8 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.1515, allocations: 3.661 MB / 305.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.1545, allocations: 2.509 MB / 307.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007391/0.1552, allocations: 0.6066 MB / 308.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.1565, allocations: 0.8277 MB / 309.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.1572, allocations: 1.46 MB / 310.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.1588, allocations: 1.797 MB / 312.6 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.1625, allocations: 4.219 MB / 316.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1625, allocations: 0 / 316.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1625, allocations: 4 kB / 316.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.805e-05/0.1626, allocations: 0 / 316.9 MB, free: 5.051 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.006611/0.1692, allocations: 5.166 MB / 322 MB, free: 104 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1692, allocations: 8.922 kB / 322 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.1734, allocations: 1.305 MB / 323.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.1761, allocations: 1.836 MB / 325.2 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.1762, allocations: 300.5 kB / 325.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003557/0.1766, allocations: 405.5 kB / 325.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003391/0.18, allocations: 2.992 MB / 328.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.18, allocations: 15.88 kB / 328.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.1803, allocations: 166.3 kB / 329 MB, free: 9.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/0.1804, allocations: 168 kB / 329.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.1824, allocations: 1.2 MB / 330.4 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.1945, allocations: 10.59 MB / 341 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.1966, allocations: 1.956 MB / 342.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/0.1975, allocations: 0.7125 MB / 343.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003619/0.2012, allocations: 2.326 MB / 346 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2012, allocations: 47.88 kB / 346 MB, free: 8.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=157): time 3.306e-06/0.2012, allocations: 0 / 346 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=160): time 0.004609/0.2058, allocations: 2.631 MB / 348.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2058, allocations: 72 kB / 348.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.207, allocations: 1.513 MB / 350.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.2071, allocations: 49.7 kB / 350.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/0.2077, allocations: 1.625 MB / 351.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.208, allocations: 0.5723 MB / 352.5 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.2083, allocations: 380.5 kB / 352.9 MB, free: 2.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.2084, allocations: 303.8 kB / 353.1 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.2087, allocations: 235.3 kB / 353.4 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.2096, allocations: 0.9481 MB / 354.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2108, allocations: 1.404 MB / 355.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.2108, allocations: 8 kB / 355.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.001453/0.2122, allocations: 1.305 MB / 357 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2122, allocations: 16 kB / 357.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2123, allocations: 24 kB / 357.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.2124, allocations: 96.06 kB / 357.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.2136, allocations: 0.5637 MB / 357.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008708/0.2144, allocations: 1.523 MB / 359.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.2152, allocations: 87.89 kB / 359.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.2153, allocations: 75.98 kB / 359.4 MB, free: 11.36 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.0006292/0.2159, allocations: 265.5 kB / 359.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.2161, allocations: 187.8 kB / 359.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2176, allocations: 1.043 MB / 360.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.2176, allocations: 16 kB / 360.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2176, allocations: 4 kB / 360.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2176, allocations: 7.969 kB / 360.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.221, allocations: 2.531 MB / 363.5 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.221, allocations: 8.188 kB / 363.5 MB, free: 7.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.2218, allocations: 364.9 kB / 363.8 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.2223, allocations: 226.8 kB / 364.1 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/0.2224, allocations: 35.98 kB / 364.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/0.2256, allocations: 5.103 MB / 369.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2256, allocations: 4 kB / 369.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.2272, allocations: 1.395 MB / 370.6 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.2277, allocations: 242.4 kB / 370.8 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.2279, allocations: 32 kB / 370.9 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.2283, allocations: 65.59 kB / 370.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.2285, allocations: 113 kB / 371 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.2286, allocations: 35.98 kB / 371.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006323/0.2292, allocations: 0.7463 MB / 371.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2292, allocations: 3.375 kB / 371.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001482/0.2307, allocations: 0.6679 MB / 372.5 MB, free: 14.46 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.0002443/0.2309, allocations: 150.5 kB / 372.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.2321, allocations: 1.036 MB / 373.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.464e-05/0.2321, allocations: 29.81 kB / 373.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.2329, allocations: 0.8868 MB / 374.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.234, allocations: 0.4964 MB / 375.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/0.2415, allocations: 5.882 MB / 381 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.2422, allocations: 0.7772 MB / 381.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000839/0.243, allocations: 323 kB / 382.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.2438, allocations: 0.5225 MB / 382.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2438, allocations: 0 / 382.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of Templates: time 0.0427/0.2865, allocations: 31.09 MB / 413.7 MB, free: 5.883 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 -s gbode -gbm=radauIIA3 -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.7510504689998925]