Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001419/0.001419, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001074/0.001074, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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 0.9386/0.9386, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.303e-05, allocations: 4.703 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01244/0.01246, allocations: 16.46 MB / 289.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1278/0.1403, allocations: 5.573 MB / 295.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.1419, allocations: 130.6 kB / 295.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.1441, allocations: 1.262 MB / 296.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1469, allocations: 1.68 MB / 298.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1484, allocations: 1.077 MB / 299.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.1522, allocations: 5.419 MB / 305 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1545, allocations: 2.23 MB / 307.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.1576, allocations: 3.718 MB / 311 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.1594, allocations: 2.508 MB / 313.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004941/0.1599, allocations: 0.6046 MB / 314.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1609, allocations: 0.8331 MB / 314.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006037/0.1615, allocations: 1.466 MB / 316.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009967/0.1625, allocations: 1.798 MB / 318.2 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.1653, allocations: 4.257 MB / 322.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1653, allocations: 0 / 322.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1653, allocations: 0 / 322.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.1653, allocations: 0 / 322.4 MB, free: 15.36 MB / 282.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.006004/0.1713, allocations: 5.512 MB / 327.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1714, allocations: 8.031 kB / 327.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.1741, allocations: 1.38 MB / 329.3 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.1767, allocations: 2.716 MB / 332 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.1769, allocations: 311 kB / 332.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.1772, allocations: 404.3 kB / 332.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.1802, allocations: 2.941 MB / 335.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.523e-05/0.1803, allocations: 11.86 kB / 335.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.1805, allocations: 164 kB / 335.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.1806, allocations: 164 kB / 336 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.1823, allocations: 1.202 MB / 337.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.1943, allocations: 13.42 MB / 350.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.1967, allocations: 2.261 MB / 352.9 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.1982, allocations: 1.214 MB / 354.1 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003612/0.2018, allocations: 3.134 MB / 357.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2018, allocations: 62.62 kB / 357.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=157): time 2.585e-06/0.2018, allocations: 0 / 357.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=160): time 0.004148/0.206, allocations: 3.015 MB / 360.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.206, allocations: 68.72 kB / 360.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2074, allocations: 1.805 MB / 362.2 MB, free: 8.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.2074, allocations: 53.64 kB / 362.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/0.2083, allocations: 2.035 MB / 364.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.2086, allocations: 0.594 MB / 364.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.209, allocations: 433.1 kB / 365.3 MB, free: 5.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2091, allocations: 484.7 kB / 365.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.2095, allocations: 232.1 kB / 366 MB, free: 4.855 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.2102, allocations: 1.286 MB / 367.3 MB, free: 3.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2115, allocations: 1.71 MB / 369 MB, free: 1.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2115, allocations: 8 kB / 369 MB, free: 1.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00175/0.2132, allocations: 1.699 MB / 370.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.2133, allocations: 14.19 kB / 370.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2133, allocations: 24 kB / 370.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.2135, allocations: 139.6 kB / 370.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/0.2145, allocations: 0.5032 MB / 371.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.2159, allocations: 2.371 MB / 373.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.2165, allocations: 87.98 kB / 373.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.2166, allocations: 87.98 kB / 373.9 MB, free: 11.95 MB / 330.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 (266): * Single equations (assignments): 264 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005217/0.2171, allocations: 291.8 kB / 374.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.2174, allocations: 290.5 kB / 374.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.2189, allocations: 1.29 MB / 375.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2189, allocations: 23.92 kB / 375.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.2189, allocations: 8 kB / 375.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.2189, allocations: 7.969 kB / 375.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.2224, allocations: 3.246 MB / 379.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2225, allocations: 4 kB / 379.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.2231, allocations: 263.6 kB / 379.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.2235, allocations: 283 kB / 379.6 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.2236, allocations: 39.98 kB / 379.6 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003668/0.2273, allocations: 7.256 MB / 386.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2273, allocations: 4.031 kB / 386.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2291, allocations: 1.746 MB / 388.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.2296, allocations: 382.3 kB / 389 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.2297, allocations: 35.94 kB / 389 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.2302, allocations: 63.91 kB / 389.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.2303, allocations: 121 kB / 389.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.2304, allocations: 35.98 kB / 389.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007263/0.2311, allocations: 0.9346 MB / 390.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2311, allocations: 0 / 390.2 MB, free: 11.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001251/0.2324, allocations: 0.6718 MB / 390.9 MB, free: 10.45 MB / 346.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 (129): * Single equations (assignments): 126 * 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,8,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.0002463/0.2326, allocations: 184.5 kB / 391.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2339, allocations: 1.224 MB / 392.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2339, allocations: 0 / 392.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.2348, allocations: 1.144 MB / 393.4 MB, free: 7.812 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.236, allocations: 0.5228 MB / 393.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006507/0.2425, allocations: 6.058 MB / 400 MB, free: 1.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.2432, allocations: 0.9342 MB / 400.9 MB, free: 212 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007256/0.2439, allocations: 319.2 kB / 401.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/0.2448, allocations: 0.5994 MB / 401.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2448, allocations: 0 / 401.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Templates: time 0.1435/0.3883, allocations: 31.8 MB / 433.6 MB, free: 108.6 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.792485740967095]